A UART driver instance initialization structure. Contains a number of UARTDRV configuration options. It is required for driver instance initialization. This structure is passed to UARTDRV_Init() when initializing a UARTDRV instance.
Definition at line
192
of file
uartdrv.h
.
#include <
uartdrv.h
>
Data Fields |
|
uint32_t | baudRate |
UART baud rate.
|
|
uint8_t | ctsPin |
A CTS pin number.
|
|
GPIO_Port_TypeDef | ctsPort |
A CTS pin port number.
|
|
UARTDRV_FlowControlType_t | fcType |
Flow control mode.
|
|
USART_OVS_TypeDef | oversampling |
Oversampling mode.
|
|
USART_Parity_TypeDef | parity |
Parity configuration.
|
|
USART_TypeDef * | port |
The peripheral used for UART.
|
|
uint8_t | rtsPin |
An RTS pin number.
|
|
GPIO_Port_TypeDef | rtsPort |
An RTS pin port number.
|
|
UARTDRV_Buffer_FifoQueue_t * | rxQueue |
A receive operation queue.
|
|
USART_Stopbits_TypeDef | stopBits |
A number of stop bits.
|
|
UARTDRV_Buffer_FifoQueue_t * | txQueue |
T transmit operation queue.
|
|
The documentation for this struct was generated from the following file:
-
C:/HandsOn/super/platform/emdrv/uartdrv/inc/
uartdrv.h