PER Firmware
Loading...
Searching...
No Matches
usart_init_t Struct Reference

Public Attributes

uint32_t baud_rate
 Baud rate for communication.
 
word_length_t word_length
 Word length for tx/rx (8 default)
 
stop_bits_t stop_bits
 Number of stop bits to use (1 default)
 
parity_t parity
 Parity of communication (none default)
 
hw_flow_ctl_t hw_flow_ctl
 Special hardware modes (none default)
 
ovsample_t ovsample
 8x or 16x oversample (16x default)
 
obsample_t obsample
 One bit sampling enable (off default)
 
bool wake_addr
 Wake up when given a specific address.
 
uint8_t address
 Address to wake up to when addr_mode is enabled.
 
uint8_t usart_active_num
 Index of USART in active array (see USARTx_ACTIVE_IDX)
 
dma_init_ttx_dma_cfg
 TX configuration.
 
dma_init_trx_dma_cfg
 RX configuration.
 
USART_TypeDef * periph
 USART Peripheral to be used.
 
volatile usart_tx_errors_t tx_errors
 Any TX error flags set during transmission.
 
volatile usart_rx_errors_t rx_errors
 Any RX error flags set during reception.
 

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