#define WS_UART_CTRL_ENABLE
#define WS_UART_CTRL_RX_OVERRUN
#define WS_UART_CTRL_BAUD_9600
#define WS_UART_CTRL_RX_READY
#define WS_UART_CTRL_BAUD_38400
#define WS_UART_CTRL_TX_READY
#define WS_UART_CTRL_RX_OVERRUN_RESET
#define WS_UART_CTRL_PORT
uint8_t ws_uart_getc(void)
Read a character from the UART.
ws_uart_baud_rate_t
UART baud rate.
void ws_uart_putc(uint8_t value)
Write a character to the UART.
static void ws_uart_close(void)
Close the UART (EXT port) connection.
static void ws_uart_open(uint8_t baud_rate)
Open the UART (EXT port) connection.
static bool ws_uart_is_tx_ready(void)
Is the UART transmit buffer ready to accept a byte?
static void ws_uart_ack_rx_overrun(void)
Acknowledge that the UART receive buffer has overflowed.
static bool ws_uart_is_rx_overrun(void)
Check if the UART receive buffer has overflowed.
int16_t ws_uart_getc_nonblock(void)
Try to read a character from the UART.
static bool ws_uart_is_rx_ready(void)
Does the UART receive buffer contain a byte?
@ WS_UART_BAUD_RATE_38400
UART baud rate: 38400 baud (3840 bytes/second).
@ WS_UART_BAUD_RATE_9600
UART baud rate: 9600 baud (960 bytes/second).