Astra MCU SDK Peripheral Driver Library
 
Loading...
Searching...
No Matches
uart_config_t Struct Reference

UART control configuration structure. More...

#include <uart.h>

Data Fields

uart_parity_en parity
 
uart_char_len_en char_len
 
uart_stop_bits_en stop_bits
 
bool flow_control
 
uint32_t baud_rate
 

Detailed Description

UART control configuration structure.

Contains parameters for setting UART communication configuration such as parity, data bits, stop bits, flow control, and baud rate.

Field Documentation

◆ parity

uart_parity_en uart_config_t::parity

Parity configuration (none, even, odd)

◆ char_len

uart_char_len_en uart_config_t::char_len

Character length (data bits count)

◆ stop_bits

uart_stop_bits_en uart_config_t::stop_bits

Number of stop bits (1, 1.5, 2)

◆ flow_control

bool uart_config_t::flow_control

Enable or disable UART flow control

◆ baud_rate

uint32_t uart_config_t::baud_rate

UART Baud rate in bps