async_call: ashet.io.serial.read
Documentation
Reads data from a serial port.
Inputs
port: SerialPortdata: bytebuf
Outputs
read: usizeNumber of words read from the serial port.
stop_reason: 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.