Skip to content

uartgetbytesavailable

Ken Sharp edited this page Dec 8, 2023 · 1 revision

UartGetBytesAvailable()

Gets the number of data bytes available in the specified UART's receive buffer.

Syntax

UartGetBytesAvailable(unsigned char channel, unsigned char *numBytes) ;

channel
The UART channel to read from.

numBytes
A pointer to an unsigned char to store the number of available data bytes in the UART's receive buffer.

Returns

int status

Related Links

Clone this wiki locally