Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
uart_config Struct Reference

UART controller configuration structure. More...

#include <uart.h>

Data Fields

uint32_t baudrate
 Baudrate setting in bps.
 
uint8_t parity
 Parity bit, use uart_config_parity.
 
uint8_t stop_bits
 Stop bits, use uart_config_stop_bits.
 
uint8_t data_bits
 Data bits, use uart_config_data_bits.
 
uint8_t flow_ctrl
 Flow control setting, use uart_config_flow_control.
 

Detailed Description

UART controller configuration structure.

Field Documentation

◆ baudrate

uint32_t uart_config::baudrate

Baudrate setting in bps.

◆ data_bits

uint8_t uart_config::data_bits

Data bits, use uart_config_data_bits.

◆ flow_ctrl

uint8_t uart_config::flow_ctrl

Flow control setting, use uart_config_flow_control.

◆ parity

uint8_t uart_config::parity

Parity bit, use uart_config_parity.

◆ stop_bits

uint8_t uart_config::stop_bits

Stop bits, use uart_config_stop_bits.


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