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

Detailed Description

Asynchronous mode init structure.

Definition at line 292 of file em_usart.h.

#include <em_usart.h>

Data Fields

uint32_t baudrate
 
USART_Databits_TypeDef databits
 
USART_Enable_TypeDef enable
 
bool mvdis
 
USART_OVS_TypeDef oversampling
 
USART_Parity_TypeDef parity
 
USART_PrsRxCh_TypeDef prsRxCh
 
bool prsRxEnable
 
uint32_t refFreq
 
USART_Stopbits_TypeDef stopbits
 

Field Documentation

uint32_t USART_InitAsync_TypeDef::baudrate

Desired baudrate.

Definition at line 304 of file em_usart.h.

Referenced by UARTDRV_InitUart(), and USART_InitAsync().

USART_Databits_TypeDef USART_InitAsync_TypeDef::databits

Number of databits in frame. Notice that UART modules only support 8 or 9 databits.

Definition at line 311 of file em_usart.h.

Referenced by UARTDRV_InitUart(), and USART_InitAsync().

USART_Enable_TypeDef USART_InitAsync_TypeDef::enable

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

Definition at line 295 of file em_usart.h.

Referenced by RETARGET_SerialInit(), UARTDRV_InitUart(), and USART_InitAsync().

bool USART_InitAsync_TypeDef::mvdis

Majority Vote Disable for 16x, 8x and 6x oversampling modes.

Definition at line 321 of file em_usart.h.

Referenced by UARTDRV_InitUart(), and USART_InitAsync().

USART_OVS_TypeDef USART_InitAsync_TypeDef::oversampling

Oversampling used.

Definition at line 307 of file em_usart.h.

Referenced by UARTDRV_InitUart(), and USART_InitAsync().

USART_Parity_TypeDef USART_InitAsync_TypeDef::parity

Parity mode to use.

Definition at line 314 of file em_usart.h.

Referenced by UARTDRV_InitUart(), and USART_InitAsync().

USART_PrsRxCh_TypeDef USART_InitAsync_TypeDef::prsRxCh

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

Definition at line 327 of file em_usart.h.

Referenced by USART_InitAsync().

bool USART_InitAsync_TypeDef::prsRxEnable

Enable USART Rx via PRS.

Definition at line 324 of file em_usart.h.

Referenced by USART_InitAsync().

uint32_t USART_InitAsync_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 301 of file em_usart.h.

Referenced by USART_InitAsync().

USART_Stopbits_TypeDef USART_InitAsync_TypeDef::stopbits

Number of stopbits to use.

Definition at line 317 of file em_usart.h.

Referenced by UARTDRV_InitUart(), and USART_InitAsync().


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