oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
Data Fields
ove_uart_cfg Struct Reference

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
 

Detailed Description

UART configuration descriptor.

Field Documentation

◆ instance

unsigned int ove_uart_cfg::instance

Peripheral index (0, 1, 2 ...).

◆ baudrate

uint32_t ove_uart_cfg::baudrate

Baud rate in bps (e.g. 115200).

◆ data_bits

uint8_t ove_uart_cfg::data_bits

Data bits: 7, 8, or 9.

◆ parity

ove_uart_parity_t ove_uart_cfg::parity

Parity mode.

◆ stop_bits

ove_uart_stop_t ove_uart_cfg::stop_bits

Stop bit count.

◆ flow_control

ove_uart_flow_t ove_uart_cfg::flow_control

Hardware flow control.

◆ rx_buf_size

size_t ove_uart_cfg::rx_buf_size

RX ring buffer size in bytes.


The documentation for this struct was generated from the following file: