Initialization structure.
Public Attributes#
Specifies whether TX and/or RX will be enabled when initialization completes.
EUSART reference clock assumed when configuring baud rate setup.
Desired baud rate.
Oversampling used.
Number of data bits in frame.
Parity mode to use.
Number of stop bits to use.
Majority Vote can be disabled for 16x, 8x and 6x oversampling modes.
Enable Loop Back configuration.
Advanced initialization structure pointer. It can be NULL.
Public Attribute Documentation#
enable#
EUSART_Enable_TypeDef EUSART_UartInit_TypeDef::enable
Specifies whether TX and/or RX will be enabled when initialization completes.
refFreq#
uint32_t EUSART_UartInit_TypeDef::refFreq
EUSART reference clock assumed when configuring baud rate setup.
Set to 0 if using currently configured reference clock.
baudrate#
uint32_t EUSART_UartInit_TypeDef::baudrate
Desired baud rate.
If set to 0, Auto Baud feature is enabled and the EUSART will wait for (0x55) frame to detect the Baudrate.
majorityVote#
EUSART_MajorityVote_TypeDef EUSART_UartInit_TypeDef::majorityVote
Majority Vote can be disabled for 16x, 8x and 6x oversampling modes.
loopbackEnable#
EUSART_LoopbackEnable_TypeDef EUSART_UartInit_TypeDef::loopbackEnable
Enable Loop Back configuration.
advancedSettings#
EUSART_AdvancedInit_TypeDef* EUSART_UartInit_TypeDef::advancedSettings
Advanced initialization structure pointer. It can be NULL.