-
Notifications
You must be signed in to change notification settings - Fork 114
uartread
Ken Sharp edited this page Dec 8, 2023
·
1 revision
Read data from the specified UART channel.
UartRead(unsigned char channel, unsigned char numBytes, unsigned char* recBuffer, unsigned char* numBytesRead) ;
channel
The UART channel to read from.
numBytes
The number of data bytes to read from the UART's receive buffer (if they exist)
recBuffer
A pointer to the first element in an unsigned byte array to store the data bytes from the UART.
numBytesRead
The actual number of bytes read. If numBytesRead
is less than numBytes
a warning status is returned.
int status