async_call: ashet.io.serial.read
Documentation
Reads data from a serial port.
Inputs
port: io.serial.SerialPortdata: bytebuf
Outputs
read: usizeNumber of words read from the serial port.
stop_reason: io.serial.SerialPortErrorThis contains the reason why not *all* data was read.
Errors
InvalidHandleWordSizeMismatchThe serial port uses a word size that needs more than 8 bits per word.