|
oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
|
UART configuration descriptor. More...
#include <uart.h>
Data Fields | |
| unsigned int | instance |
| uint32_t | baudrate |
| uint8_t | data_bits |
| ove_uart_parity_t | parity |
| ove_uart_stop_t | stop_bits |
| ove_uart_flow_t | flow_control |
| size_t | rx_buf_size |
UART configuration descriptor.
| unsigned int ove_uart_cfg::instance |
Peripheral index (0, 1, 2 ...).
| uint32_t ove_uart_cfg::baudrate |
Baud rate in bps (e.g. 115200).
| uint8_t ove_uart_cfg::data_bits |
Data bits: 7, 8, or 9.
| ove_uart_parity_t ove_uart_cfg::parity |
Parity mode.
| ove_uart_stop_t ove_uart_cfg::stop_bits |
Stop bit count.
| ove_uart_flow_t ove_uart_cfg::flow_control |
Hardware flow control.
| size_t ove_uart_cfg::rx_buf_size |
RX ring buffer size in bytes.