Function rc_uart_bytes_available#
Defined in File uart.h
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.