LEUART driver instance initialization structure.
LEUART 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_InitLeuart() when initializing a UARTDRV instance.
Public Attributes#
The peripheral used for LEUART.
UART baud rate.
Location number for LEUART pins.
Number of stop bits.
Parity configuration.
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#
LEUART_TypeDef* UARTDRV_InitLeuart_t::port
The peripheral used for LEUART.
283
of file platform/emdrv/uartdrv/inc/uartdrv.h
baudRate#
uint32_t UARTDRV_InitLeuart_t::baudRate
UART baud rate.
284
of file platform/emdrv/uartdrv/inc/uartdrv.h
portLocation#
uint8_t UARTDRV_InitLeuart_t::portLocation
Location number for LEUART pins.
289
of file platform/emdrv/uartdrv/inc/uartdrv.h
stopBits#
LEUART_Stopbits_TypeDef UARTDRV_InitLeuart_t::stopBits
Number of stop bits.
291
of file platform/emdrv/uartdrv/inc/uartdrv.h
parity#
LEUART_Parity_TypeDef UARTDRV_InitLeuart_t::parity
Parity configuration.
292
of file platform/emdrv/uartdrv/inc/uartdrv.h
fcType#
UARTDRV_FlowControlType_t UARTDRV_InitLeuart_t::fcType
Flow control mode.
293
of file platform/emdrv/uartdrv/inc/uartdrv.h
ctsPort#
GPIO_Port_TypeDef UARTDRV_InitLeuart_t::ctsPort
CTS pin port number.
294
of file platform/emdrv/uartdrv/inc/uartdrv.h
ctsPin#
uint8_t UARTDRV_InitLeuart_t::ctsPin
CTS pin number.
295
of file platform/emdrv/uartdrv/inc/uartdrv.h
rtsPort#
GPIO_Port_TypeDef UARTDRV_InitLeuart_t::rtsPort
RTS pin port number.
296
of file platform/emdrv/uartdrv/inc/uartdrv.h
rtsPin#
uint8_t UARTDRV_InitLeuart_t::rtsPin
RTS pin number.
297
of file platform/emdrv/uartdrv/inc/uartdrv.h
rxQueue#
UARTDRV_Buffer_FifoQueue_t* UARTDRV_InitLeuart_t::rxQueue
Receive operation queue.
298
of file platform/emdrv/uartdrv/inc/uartdrv.h
txQueue#
UARTDRV_Buffer_FifoQueue_t* UARTDRV_InitLeuart_t::txQueue
Transmit operation queue.
299
of file platform/emdrv/uartdrv/inc/uartdrv.h