Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
uart_config Struct Reference

UART controller configuration structure. More...

#include <uart.h>

Data Fields

uint32_t baudrate
 
uint8_t parity
 
uint8_t stop_bits
 
uint8_t data_bits
 
uint8_t flow_ctrl
 

Detailed Description

UART controller configuration structure.

Parameters
baudrateBaudrate setting in bps
parityParity bit, use uart_config_parity
stop_bitsStop bits, use uart_config_stop_bits
data_bitsData bits, use uart_config_data_bits
flow_ctrlFlow control setting, use uart_config_flow_control

Field Documentation

◆ baudrate

uint32_t uart_config::baudrate

◆ data_bits

uint8_t uart_config::data_bits

◆ flow_ctrl

uint8_t uart_config::flow_ctrl

◆ parity

uint8_t uart_config::parity

◆ stop_bits

uint8_t uart_config::stop_bits

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