USART_InitSync_TypeDef Struct Reference

Synchronous mode initialization structure.

#include <em_usart.h>

Data Fields

USART_Enable_TypeDef enable
Specifies whether TX and/or RX shall be enabled when initialization is completed.
uint32_t refFreq
USART/UART reference clock assumed when configuring baud rate setup.
uint32_t baudrate
Desired baud rate.
USART_Databits_TypeDef databits
Number of data bits in frame.
bool master
Select if to operate in master or slave mode.
bool msbf
Select if to send most or least significant bit first.
USART_ClockMode_TypeDef clockMode
Clock polarity/phase mode.
bool prsRxEnable
Enable USART Rx via PRS.
USART_PRS_Channel_t prsRxCh
Select PRS channel for USART Rx.
bool autoTx
Enable AUTOTX mode.
bool autoCsEnable