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 | intrEnable |
uint32_t | intrNum |
uint8_t | intrPriority |
uint32_t | skipIntrReg |
uint32_t | dmaEnable |
uint32_t | rxTrigLvl |
uint32_t | txTrigLvl |
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::intrEnable |
Enable interrupt mode
uint32_t UART_Params::intrNum |
Peripheral interrupt number
uint8_t UART_Params::intrPriority |
Interrupt priority
uint32_t UART_Params::skipIntrReg |
Skips Driver registering interrupt
uint32_t UART_Params::dmaEnable |
Enable DMA mode. Not yet supported
uint32_t UART_Params::rxTrigLvl |
Refer UART_RxTrigLvl for valid values
uint32_t UART_Params::txTrigLvl |
Refer UART_TxTrigLvl for valid values