Synchronous mode initialization structure.
Public Attributes#
Specifies whether TX and/or RX shall be enabled when initialization is completed.
uint32_t
USART/UART reference clock assumed when configuring baud rate setup.
uint32_t
Desired baud rate.
Number of data bits in frame.
bool
Select if to operate in master or slave mode.
bool
Select if to send most or least significant bit first.
Clock polarity/phase mode.
bool
Auto CS enabling.
bool
Enable CS invert.
Public Attribute Documentation#
enable#
USART_Enable_TypeDef USART_InitSync_TypeDef::enable
Specifies whether TX and/or RX shall be enabled when initialization is completed.
refFreq#
uint32_t USART_InitSync_TypeDef::refFreq
USART/UART reference clock assumed when configuring baud rate setup.
Set to 0 to use the currently configured reference clock.
csInv#
bool USART_InitSync_TypeDef::csInv
Enable CS invert.
By default, chip select is active low. Set to true to make chip select active high.