EFM32 Gecko Software Documentation  efm32g-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
 
USART_OVS_TypeDef oversampling
 
USART_Parity_TypeDef parity
 
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().

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().

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: