Function rc_uart_bytes_available#

Function Documentation#

int rc_uart_bytes_available(int bus)#

Fetches the number of bytes ready to be read from a bus.

Parameters:

bus[in] The bus

Returns:

Returns number of bytes ready to be read or -1 on error.