LEUART_Init_TypeDef Struct Reference

Initialization structure.

#include <em_leuart.h>

Data Fields

LEUART_Enable_TypeDef enable
 Specifies whether TX and/or RX will be enabled when initialization completes.
 
uint32_t refFreq
 LEUART reference clock assumed when configuring baud rate setup.
 
uint32_t baudrate
 Desired baud rate.
 
LEUART_Databits_TypeDef databits
 Number of data bits in frame.
 
LEUART_Parity_TypeDef parity
 Parity mode to use.
 
LEUART_Stopbits_TypeDef stopbits
 Number of stop bits to use.
 

Initialization structure.

Field Documentation

◆ enable

LEUART_Enable_TypeDef LEUART_Init_TypeDef::enable

Specifies whether TX and/or RX will be enabled when initialization completes.

◆ refFreq

uint32_t LEUART_Init_TypeDef::refFreq

LEUART reference clock assumed when configuring baud rate setup.

Set to 0 if using currently configured reference clock.

◆ baudrate

uint32_t LEUART_Init_TypeDef::baudrate

Desired baud rate.

◆ databits

LEUART_Databits_TypeDef LEUART_Init_TypeDef::databits

Number of data bits in frame.

◆ parity

LEUART_Parity_TypeDef LEUART_Init_TypeDef::parity

Parity mode to use.

◆ stopbits

LEUART_Stopbits_TypeDef LEUART_Init_TypeDef::stopbits

Number of stop bits to use.