AM243x MCU+ SDK  08.01.00

Detailed Description

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.

See also
UART_Params_init()

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
 

Field Documentation

◆ baudRate

uint32_t UART_Params::baudRate

Baud rate for UART

◆ dataLength

uint32_t UART_Params::dataLength

Data length for UART. Refer UART_DataLength

◆ stopBits

uint32_t UART_Params::stopBits

Stop bits for UART. Refer UART_StopBits

◆ parityType

uint32_t UART_Params::parityType

Parity bit type for UART. Refer UART_Parity

◆ readMode

uint32_t UART_Params::readMode

Read blocking or Callback mode. Refer UART_TransferMode

◆ readReturnMode

uint32_t UART_Params::readReturnMode

Receive return mode Refer UART_ReadReturnMode

◆ writeMode

uint32_t UART_Params::writeMode

Write blocking or Callback mode. Refer UART_TransferMode

◆ readCallbackFxn

UART_CallbackFxn UART_Params::readCallbackFxn

Read callback function pointer

◆ writeCallbackFxn

UART_CallbackFxn UART_Params::writeCallbackFxn

Write callback function pointer

◆ hwFlowControl

uint32_t UART_Params::hwFlowControl

◆ hwFlowControlThr

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

◆ intrEnable

uint32_t UART_Params::intrEnable

Enable interrupt mode

◆ intrNum

uint32_t UART_Params::intrNum

Peripheral interrupt number

◆ intrPriority

uint8_t UART_Params::intrPriority

Interrupt priority

◆ skipIntrReg

uint32_t UART_Params::skipIntrReg

Skips Driver registering interrupt

◆ dmaEnable

uint32_t UART_Params::dmaEnable

Enable DMA mode. Not yet supported

◆ rxTrigLvl

uint32_t UART_Params::rxTrigLvl

Refer UART_RxTrigLvl for valid values

◆ txTrigLvl

uint32_t UART_Params::txTrigLvl

Refer UART_TxTrigLvl for valid values