|
EZR32 Wonder Gecko Software Documentation
ezr32wg-doc-5.1.2
|
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.
#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_TypeDef * | port |
| 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_t * | rxQueue |
| Receive operation queue. | |
| USART_Stopbits_TypeDef | stopBits |
| Number of stop bits. | |
| UARTDRV_Buffer_FifoQueue_t * | txQueue |
| Transmit operation queue. | |