EFM32 Zero Gecko Software Documentation  efm32zg-doc-5.1.2
USART_InitSync_TypeDef Struct Reference

Detailed Description

Synchronous mode init structure.

Definition at line 418 of file em_usart.h.

#include <em_usart.h>

Data Fields

bool autoTx
 
uint32_t baudrate
 
USART_ClockMode_TypeDef clockMode
 
USART_Databits_TypeDef databits
 
USART_Enable_TypeDef enable
 
bool master
 
bool msbf
 
USART_PrsRxCh_TypeDef prsRxCh
 
bool prsRxEnable
 
uint32_t refFreq
 

Field Documentation

bool USART_InitSync_TypeDef::autoTx

Enable AUTOTX mode. Transmits as long as RX is not full. If TX is empty, underflows are generated.

Definition at line 453 of file em_usart.h.

Referenced by USART_InitSync().

uint32_t USART_InitSync_TypeDef::baudrate

Desired baudrate.

Definition at line 430 of file em_usart.h.

Referenced by MICROSD_Init(), SPIDRV_Init(), and USART_InitSync().

USART_ClockMode_TypeDef USART_InitSync_TypeDef::clockMode

Clock polarity/phase mode.

Definition at line 442 of file em_usart.h.

Referenced by SPIDRV_Init(), and USART_InitSync().

USART_Databits_TypeDef USART_InitSync_TypeDef::databits

Number of databits in frame.

Definition at line 433 of file em_usart.h.

Referenced by USART_InitSync().

USART_Enable_TypeDef USART_InitSync_TypeDef::enable

Specifies whether TX and/or RX shall be enabled when init completed.

Definition at line 421 of file em_usart.h.

Referenced by USART_InitI2s(), and USART_InitSync().

bool USART_InitSync_TypeDef::master

Select if to operate in master or slave mode.

Definition at line 436 of file em_usart.h.

Referenced by SPIDRV_Init(), and USART_InitSync().

bool USART_InitSync_TypeDef::msbf

Select if to send most or least significant bit first.

Definition at line 439 of file em_usart.h.

Referenced by MICROSD_Init(), SPIDRV_Init(), and USART_InitSync().

USART_PrsRxCh_TypeDef USART_InitSync_TypeDef::prsRxCh

Select PRS channel for USART Rx. (Only valid if prsRxEnable is true).

Definition at line 449 of file em_usart.h.

Referenced by USART_InitSync().

bool USART_InitSync_TypeDef::prsRxEnable

Enable USART Rx via PRS.

Definition at line 446 of file em_usart.h.

Referenced by USART_InitSync().

uint32_t USART_InitSync_TypeDef::refFreq

USART/UART reference clock assumed when configuring baudrate setup. Set it to 0 if currently configurated reference clock shall be used.

Definition at line 427 of file em_usart.h.

Referenced by USART_InitSync().


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