UART Parameters.
UART Parameters are used to with the UART_open() call. Default values for these parameters are set using UART_Params_init().
If NULL is passed for the parameters, UART_open() uses default parameters.
Data Fields | |
uint32_t | baudRate |
uint32_t | dataLength |
uint32_t | stopBits |
uint32_t | parityType |
uint32_t | readMode |
uint32_t | readReturnMode |
uint32_t | writeMode |
UART_CallbackFxn | readCallbackFxn |
UART_CallbackFxn | writeCallbackFxn |
uint32_t | hwFlowControl |
uint32_t | hwFlowControlThr |
uint32_t | transferMode |
uint32_t | intrNum |
uint16_t | eventId |
uint8_t | intrPriority |
uint32_t | skipIntrReg |
int32_t | uartDmaIndex |
uint32_t | operMode |
uint32_t | rxTrigLvl |
uint32_t | txTrigLvl |
uint32_t | rxEvtNum |
uint32_t | txEvtNum |
uint32_t UART_Params::baudRate |
Baud rate for UART
uint32_t UART_Params::dataLength |
Data length for UART. Refer UART_DataLength
uint32_t UART_Params::stopBits |
Stop bits for UART. Refer UART_StopBits
uint32_t UART_Params::parityType |
Parity bit type for UART. Refer UART_Parity
uint32_t UART_Params::readMode |
Read blocking or Callback mode. Refer UART_TransferMode
uint32_t UART_Params::readReturnMode |
Receive return mode Refer UART_ReadReturnMode
uint32_t UART_Params::writeMode |
Write blocking or Callback mode. Refer UART_TransferMode
UART_CallbackFxn UART_Params::readCallbackFxn |
Read callback function pointer
UART_CallbackFxn UART_Params::writeCallbackFxn |
Write callback function pointer
uint32_t UART_Params::hwFlowControl |
uint32_t UART_Params::hwFlowControlThr |
< Enable HW Flow Control Hardware flow Control threshold, greater than or equal to the RX FIFO trigger level UART_RxTrigLvl
uint32_t UART_Params::transferMode |
Transfer mode UART_ConfigMode
uint32_t UART_Params::intrNum |
Peripheral interrupt number
uint16_t UART_Params::eventId |
interrupt event ID, not used for ARM cores
uint8_t UART_Params::intrPriority |
Interrupt priority
uint32_t UART_Params::skipIntrReg |
Skips Driver registering interrupt
int32_t UART_Params::uartDmaIndex |
Index of DMA instance used by UART Driver. This index will be set by SysCfg according to the DMA driver chosen. The UART driver uses this index to do an UART_dmaOpen inside the UART_open if the DMA mode is enabled
uint32_t UART_Params::operMode |
Refer UART_OperMode for valid values
uint32_t UART_Params::rxTrigLvl |
Refer UART_RxTrigLvl for valid values
uint32_t UART_Params::txTrigLvl |
Refer UART_TxTrigLvl for valid values
uint32_t UART_Params::rxEvtNum |
DMA Event number used for UART Rx
uint32_t UART_Params::txEvtNum |
DMA Event number used for UART Tx