UARTDRV_InitLeuart_t Struct Reference
LEUART driver instance initialization structure.
#include <uartdrv.h>
Data Fields |
|
LEUART_TypeDef * | port |
The peripheral used for LEUART.
|
|
uint32_t | baudRate |
UART baud rate.
|
|
uint8_t | portLocation |
Location number for LEUART pins.
|
|
LEUART_Stopbits_TypeDef | stopBits |
Number of stop bits.
|
|
LEUART_Parity_TypeDef | parity |
Parity configuration.
|
|
UARTDRV_FlowControlType_t | fcType |
Flow control mode.
|
|
GPIO_Port_TypeDef | ctsPort |
CTS pin port number.
|
|
uint8_t | ctsPin |
CTS pin number.
|
|
GPIO_Port_TypeDef | rtsPort |
RTS pin port number.
|
|
uint8_t | rtsPin |
RTS pin number.
|
|
UARTDRV_Buffer_FifoQueue_t * | rxQueue |
Receive operation queue.
|
|
UARTDRV_Buffer_FifoQueue_t * | txQueue |
Transmit operation queue.
|
|
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.
Field Documentation
◆ port
LEUART_TypeDef* UARTDRV_InitLeuart_t::port |
The peripheral used for LEUART.
◆ baudRate
uint32_t UARTDRV_InitLeuart_t::baudRate |
UART baud rate.
◆ portLocation
uint8_t UARTDRV_InitLeuart_t::portLocation |
Location number for LEUART pins.
◆ stopBits
LEUART_Stopbits_TypeDef UARTDRV_InitLeuart_t::stopBits |
Number of stop bits.
◆ parity
LEUART_Parity_TypeDef UARTDRV_InitLeuart_t::parity |
Parity configuration.
◆ fcType
UARTDRV_FlowControlType_t UARTDRV_InitLeuart_t::fcType |
Flow control mode.
◆ ctsPort
GPIO_Port_TypeDef UARTDRV_InitLeuart_t::ctsPort |
CTS pin port number.
◆ ctsPin
uint8_t UARTDRV_InitLeuart_t::ctsPin |
CTS pin number.
◆ rtsPort
GPIO_Port_TypeDef UARTDRV_InitLeuart_t::rtsPort |
RTS pin port number.
◆ rtsPin
uint8_t UARTDRV_InitLeuart_t::rtsPin |
RTS pin number.
◆ rxQueue
UARTDRV_Buffer_FifoQueue_t * UARTDRV_InitLeuart_t::rxQueue |
Receive operation queue.
◆ txQueue
UARTDRV_Buffer_FifoQueue_t * UARTDRV_InitLeuart_t::txQueue |
Transmit operation queue.