EFM32 Pearl Gecko Software Documentation  efm32pg1-doc-4.2.1
LEUART_Init_TypeDef Struct Reference

#include <em_leuart.h>

Data Fields

LEUART_Enable_TypeDef enable
 
uint32_t refFreq
 
uint32_t baudrate
 
LEUART_Databits_TypeDef databits
 
LEUART_Parity_TypeDef parity
 
LEUART_Stopbits_TypeDef stopbits
 

Detailed Description

Init structure.

Definition at line 107 of file em_leuart.h.

Field Documentation

LEUART_Enable_TypeDef LEUART_Init_TypeDef::enable

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

Definition at line 110 of file em_leuart.h.

Referenced by LEUART_Init(), and RETARGET_SerialInit().

uint32_t LEUART_Init_TypeDef::refFreq

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

Definition at line 116 of file em_leuart.h.

Referenced by LEUART_Init().

uint32_t LEUART_Init_TypeDef::baudrate

Desired baudrate.

Definition at line 119 of file em_leuart.h.

Referenced by BSP_BccInit(), LEUART_Init(), and RETARGET_SerialInit().

LEUART_Databits_TypeDef LEUART_Init_TypeDef::databits

Number of databits in frame.

Definition at line 122 of file em_leuart.h.

Referenced by LEUART_Init().

LEUART_Parity_TypeDef LEUART_Init_TypeDef::parity

Parity mode to use.

Definition at line 125 of file em_leuart.h.

Referenced by LEUART_Init().

LEUART_Stopbits_TypeDef LEUART_Init_TypeDef::stopbits

Number of stopbits to use.

Definition at line 128 of file em_leuart.h.

Referenced by LEUART_Init().


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