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#

LEUART_TypeDef *

The peripheral used for LEUART.

uint32_t

UART baud rate.

uint8_t

Location number for LEUART pins.

LEUART_Stopbits_TypeDef

Number of stop bits.

LEUART_Parity_TypeDef

Parity configuration.

GPIO_Port_TypeDef

CTS pin port number.

uint8_t

CTS pin number.

GPIO_Port_TypeDef

RTS pin port number.

uint8_t

RTS pin number.

Receive operation queue.

Transmit operation queue.

Public Attribute Documentation#

port#

LEUART_TypeDef* UARTDRV_InitLeuart_t::port

The peripheral used for LEUART.


Definition at line 282 of file platform/emdrv/uartdrv/inc/uartdrv.h

baudRate#

uint32_t UARTDRV_InitLeuart_t::baudRate

UART baud rate.


Definition at line 283 of file platform/emdrv/uartdrv/inc/uartdrv.h

portLocation#

uint8_t UARTDRV_InitLeuart_t::portLocation

Location number for LEUART pins.


Definition at line 288 of file platform/emdrv/uartdrv/inc/uartdrv.h

stopBits#

LEUART_Stopbits_TypeDef UARTDRV_InitLeuart_t::stopBits

Number of stop bits.


Definition at line 290 of file platform/emdrv/uartdrv/inc/uartdrv.h

parity#

LEUART_Parity_TypeDef UARTDRV_InitLeuart_t::parity

Parity configuration.


Definition at line 291 of file platform/emdrv/uartdrv/inc/uartdrv.h

fcType#

UARTDRV_FlowControlType_t UARTDRV_InitLeuart_t::fcType

Flow control mode.


Definition at line 292 of file platform/emdrv/uartdrv/inc/uartdrv.h

ctsPort#

GPIO_Port_TypeDef UARTDRV_InitLeuart_t::ctsPort

CTS pin port number.


Definition at line 293 of file platform/emdrv/uartdrv/inc/uartdrv.h

ctsPin#

uint8_t UARTDRV_InitLeuart_t::ctsPin

CTS pin number.


Definition at line 294 of file platform/emdrv/uartdrv/inc/uartdrv.h

rtsPort#

GPIO_Port_TypeDef UARTDRV_InitLeuart_t::rtsPort

RTS pin port number.


Definition at line 295 of file platform/emdrv/uartdrv/inc/uartdrv.h

rtsPin#

uint8_t UARTDRV_InitLeuart_t::rtsPin

RTS pin number.


Definition at line 296 of file platform/emdrv/uartdrv/inc/uartdrv.h

rxQueue#

UARTDRV_Buffer_FifoQueue_t* UARTDRV_InitLeuart_t::rxQueue

Receive operation queue.


Definition at line 297 of file platform/emdrv/uartdrv/inc/uartdrv.h

txQueue#

UARTDRV_Buffer_FifoQueue_t* UARTDRV_InitLeuart_t::txQueue

Transmit operation queue.


Definition at line 298 of file platform/emdrv/uartdrv/inc/uartdrv.h