EUSART_UartInit_TypeDef Struct Reference

Initialization structure.

#include <em_eusart.h>

Data Fields

EUSART_Enable_TypeDef enable
 Specifies whether TX and/or RX will be enabled when initialization completes.
 
uint32_t refFreq
 EUSART reference clock assumed when configuring baud rate setup.
 
uint32_t baudrate
 Desired baud rate.
 
EUSART_OVS_TypeDef oversampling
 Oversampling used.
 
EUSART_Databits_TypeDef databits
 Number of data bits in frame.
 
EUSART_Parity_TypeDef parity
 Parity mode to use.
 
EUSART_Stopbits_TypeDef stopbits
 Number of stop bits to use.
 
EUSART_MajorityVote_TypeDef majorityVote
 Majority Vote can be disabled for 16x, 8x and 6x oversampling modes.
 
EUSART_LoopbackEnable_TypeDef loopbackEnable
 Enable Loop Back configuration.
 
EUSART_AdvancedInit_TypeDefadvancedSettings
 Advanced initialization structure pointer. It can be NULL.
 

Initialization structure.