Module uart

Module uart 

Source
Expand description

UART serial bus driver.

Provides safe wrappers around the oveRTOS UART API with interrupt-driven RX buffering and thread-safe TX.

Enums§

FlowControl
UART flow control.
Parity
UART parity mode.
StopBits
UART stop bits.

Functions§

bytes_available
Query the number of bytes available in the RX buffer.
flush
Flush the TX hardware buffer.
read
Read data from the UART RX buffer. Returns the number of bytes read.
write
Write data to the UART. Returns the number of bytes written.