UARTDRV_InitEuart_t Struct ReferenceEMDRV > UARTDRV
UART driver instance initialization structure. Contains a number of UARTDRV configuration options. It is required to initialize a driver instance. This structure is passed to UARTDRV_InitEuart() when initializing a UARTDRV
Definition at line
264
of file
uartdrv.h
.
#include <
uartdrv.h
>
Data Fields |
|
| uint32_t | baudRate |
|
EUART baud rate.
|
|
| uint8_t | ctsPin |
|
CTS pin number.
|
|
| GPIO_Port_TypeDef | ctsPort |
|
CTS pin port number.
|
|
| UARTDRV_FlowControlType_t | fcType |
|
Flow control mode.
|
|
EUSART_MajorityVote_TypeDef
|
mvdis |
|
Majority Vote Disable for 16x, 8x and 6x oversampling modes.
|
|
EUSART_OVS_TypeDef
|
oversampling |
|
Oversampling mode.
|
|
EUSART_Parity_TypeDef
|
parity |
|
Parity configuration.
|
|
| EUSART_TypeDef * | port |
|
The peripheral used for EUART.
|
|
| uint8_t | rtsPin |
|
RTS pin number.
|
|
| GPIO_Port_TypeDef | rtsPort |
|
RTS pin port number.
|
|
| uint8_t | rxPin |
|
Pin number for UART Rx.
|
|
| GPIO_Port_TypeDef | rxPort |
|
Port for UART Rx pin.
|
|
| UARTDRV_Buffer_FifoQueue_t * | rxQueue |
|
Receive operation queue.
|
|
EUSART_Stopbits_TypeDef
|
stopBits |
|
Number of stop bits.
|
|
| uint8_t | txPin |
|
Pin number for UART Tx.
|
|
| GPIO_Port_TypeDef | txPort |
|
Port for UART Tx pin.
|
|
| UARTDRV_Buffer_FifoQueue_t * | txQueue |
|
Transmit operation queue.
|
|
| uint8_t | uartNum |
|
EUART instance number.
|
|
| bool | useLowFrequencyMode |
|
Clock configuration of the EUART.
|
|
The documentation for this struct was generated from the following file:
-
C:/repos/super/platform/emdrv/uartdrv/inc/
uartdrv.h