EFM32 Wonder Gecko Software Documentation  efm32wg-doc-5.1.2
UARTDRV_InitUart_t Struct Reference

Detailed Description

UART 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_Init() when initializing a UARTDRV instance.

Definition at line 176 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.
 
bool mvdis
 Majority Vote Disable for 16x, 8x and 6x oversampling modes.
 
USART_OVS_TypeDef oversampling
 Oversampling mode.
 
USART_Parity_TypeDef parity
 Parity configuration.
 
USART_TypeDefport
 The peripheral used for UART.
 
uint8_t portLocation
 Location number for UART pins.
 
uint8_t rtsPin
 RTS pin number.
 
GPIO_Port_TypeDef rtsPort
 RTS pin port number.
 
UARTDRV_Buffer_FifoQueue_trxQueue
 Receive operation queue.
 
USART_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: