EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
UARTDRV_InitLeuart_t Struct Reference

Detailed Description

LEUART driver instance initialization structure. This data structure contains a number of UARTDRV configuration options required for driver instance initialization. This struct is passed to UARTDRV_InitLeuart() when initializing a UARTDRV instance.

Definition at line 216 of file uartdrv.h.

#include <uartdrv.h>

Data Fields

uint32_t baudRate
 UART baud rate.
 
uint8_t ctsPin
 CTS pin number.
 
GPIO_Port_TypeDef ctsPort
 CTS pin port number.
 
UARTDRV_FlowControlType_t fcType
 Flow control mode.
 
LEUART_Parity_TypeDef parity
 Parity configuration.
 
LEUART_TypeDefport
 The peripheral used for LEUART.
 
uint8_t portLocation
 Location number for LEUART pins.
 
uint8_t rtsPin
 RTS pin number.
 
GPIO_Port_TypeDef rtsPort
 RTS pin port number.
 
UARTDRV_Buffer_FifoQueue_trxQueue
 Receive operation queue.
 
LEUART_Stopbits_TypeDef stopBits
 Number of stop bits.
 
UARTDRV_Buffer_FifoQueue_ttxQueue
 Transmit operation queue.
 

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