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
Public Attributes#
The peripheral used for EUART.
Clock configuration of the EUART.
EUART baud rate.
Port for UART Tx pin.
Port for UART Rx pin.
Pin number for UART Tx.
Pin number for UART Rx.
EUART instance number.
Number of stop bits.
Parity configuration.
Oversampling mode.
Majority Vote Disable for 16x, 8x and 6x oversampling modes.
Flow control mode.
CTS pin port number.
CTS pin number.
RTS pin port number.
RTS pin number.
Receive operation queue.
Transmit operation queue.
Public Attribute Documentation#
port#
EUSART_TypeDef* UARTDRV_InitEuart_t::port
The peripheral used for EUART.
309
of file platform/emdrv/uartdrv/inc/uartdrv.h
useLowFrequencyMode#
bool UARTDRV_InitEuart_t::useLowFrequencyMode
Clock configuration of the EUART.
310
of file platform/emdrv/uartdrv/inc/uartdrv.h
baudRate#
uint32_t UARTDRV_InitEuart_t::baudRate
EUART baud rate.
311
of file platform/emdrv/uartdrv/inc/uartdrv.h
txPort#
GPIO_Port_TypeDef UARTDRV_InitEuart_t::txPort
Port for UART Tx pin.
316
of file platform/emdrv/uartdrv/inc/uartdrv.h
rxPort#
GPIO_Port_TypeDef UARTDRV_InitEuart_t::rxPort
Port for UART Rx pin.
317
of file platform/emdrv/uartdrv/inc/uartdrv.h
txPin#
uint8_t UARTDRV_InitEuart_t::txPin
Pin number for UART Tx.
319
of file platform/emdrv/uartdrv/inc/uartdrv.h
rxPin#
uint8_t UARTDRV_InitEuart_t::rxPin
Pin number for UART Rx.
320
of file platform/emdrv/uartdrv/inc/uartdrv.h
uartNum#
uint8_t UARTDRV_InitEuart_t::uartNum
EUART instance number.
321
of file platform/emdrv/uartdrv/inc/uartdrv.h
stopBits#
EUSART_Stopbits_TypeDef UARTDRV_InitEuart_t::stopBits
Number of stop bits.
328
of file platform/emdrv/uartdrv/inc/uartdrv.h
parity#
EUSART_Parity_TypeDef UARTDRV_InitEuart_t::parity
Parity configuration.
329
of file platform/emdrv/uartdrv/inc/uartdrv.h
oversampling#
EUSART_OVS_TypeDef UARTDRV_InitEuart_t::oversampling
Oversampling mode.
330
of file platform/emdrv/uartdrv/inc/uartdrv.h
mvdis#
EUSART_MajorityVote_TypeDef UARTDRV_InitEuart_t::mvdis
Majority Vote Disable for 16x, 8x and 6x oversampling modes.
331
of file platform/emdrv/uartdrv/inc/uartdrv.h
fcType#
UARTDRV_FlowControlType_t UARTDRV_InitEuart_t::fcType
Flow control mode.
333
of file platform/emdrv/uartdrv/inc/uartdrv.h
ctsPort#
GPIO_Port_TypeDef UARTDRV_InitEuart_t::ctsPort
CTS pin port number.
340
of file platform/emdrv/uartdrv/inc/uartdrv.h
ctsPin#
uint8_t UARTDRV_InitEuart_t::ctsPin
CTS pin number.
341
of file platform/emdrv/uartdrv/inc/uartdrv.h
rtsPort#
GPIO_Port_TypeDef UARTDRV_InitEuart_t::rtsPort
RTS pin port number.
342
of file platform/emdrv/uartdrv/inc/uartdrv.h
rtsPin#
uint8_t UARTDRV_InitEuart_t::rtsPin
RTS pin number.
343
of file platform/emdrv/uartdrv/inc/uartdrv.h
rxQueue#
UARTDRV_Buffer_FifoQueue_t* UARTDRV_InitEuart_t::rxQueue
Receive operation queue.
345
of file platform/emdrv/uartdrv/inc/uartdrv.h
txQueue#
UARTDRV_Buffer_FifoQueue_t* UARTDRV_InitEuart_t::txQueue
Transmit operation queue.
346
of file platform/emdrv/uartdrv/inc/uartdrv.h