EFM32 Leopard Gecko Software Documentation  efm32lg-doc-5.1.2
LEUART_Init_TypeDef Struct Reference

Detailed Description

Init structure.

Definition at line 107 of file em_leuart.h.

#include <em_leuart.h>

Data Fields

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

Field Documentation

uint32_t LEUART_Init_TypeDef::baudrate

Desired baudrate.

Definition at line 119 of file em_leuart.h.

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

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(), and UARTDRV_InitLeuart().

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(), RETARGET_SerialInit(), and UARTDRV_InitLeuart().

LEUART_Parity_TypeDef LEUART_Init_TypeDef::parity

Parity mode to use.

Definition at line 125 of file em_leuart.h.

Referenced by LEUART_Init(), and UARTDRV_InitLeuart().

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

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(), and UARTDRV_InitLeuart().


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