Overview
Refer to ti_drivers_UART_Overview for a complete description of APIs and examples of use.
§ UART_RX_ERRS
Value:(DL_UART_INTERRUPT_OVERRUN_ERROR | DL_UART_INTERRUPT_BREAK_ERROR | \
DL_UART_INTERRUPT_PARITY_ERROR | \
DL_UART_INTERRUPT_FRAMING_ERROR)
UART receive errors.
§ UART_Obj_Ptr()
This function returns a pointer to UART object.
- Precondition
- Config Parameters. Calling context: function
- Parameters
-
- Returns
- Return a UART object pointer.
References UART_Config_::object.
§ UART_HWAttrs_Ptr()
This function returns a pointer to UART hardware Attribute.
- Precondition
- Config Parameters. Calling context: function
- Parameters
-
- Returns
- Return a UART HWAttrs pointer.
References UART_Config_::hwAttrs.
§ UART_buffersObject()
This function returns a pointer to UART buffers object.
- Precondition
- Config Parameters. Calling context: function
- Parameters
-
*object | A UART object pointer. |
- Returns
- Return a UART buffers object pointer.
Referenced by UART_eventCallbackObject().
§ UART_eventCallbackObject()
This function returns a pointer to UART event callback object.
- Precondition
- Config Parameters. Calling context: function
- Parameters
-
*object | A UART object pointer. |
- Returns
- Return a UART event callback object pointer.
References UART_buffersObject().
Referenced by UART_callbackObject().
§ UART_callbackObject()
§ UARTMSP_interruptHandler()
This function handles the UART interrupts.
- Precondition
- Config Parameters.
- Parameters
-
- Returns
- void
Referenced by UART_callbackObject().
§ UARTMSP_dmaTx()
This function configures and starts DMA transfer.
- Precondition
- Config Parameters. Calling context: Task
- Parameters
-
- Returns
- void
- See also
- UART_open()
Referenced by UART_callbackObject().
§ UARTMSP_dmaRx()
void UARTMSP_dmaRx |
( |
UART_Handle |
handle, |
|
|
bool |
copyfifo |
|
) |
| |
This function configures and starts DMA receive.
- Precondition
- Config Parameters. Calling context: Task
- Parameters
-
handle | A UART handle return by UART_open(). |
copyfifo | true: copy fifo. false: don't copy fifo. |
- Returns
- void
- See also
- UART_open()
Referenced by UART_callbackObject().
§ UARTMSP_dmaStopRx()
This function stops DMA rx and disables the channel.
- Precondition
- Config Parameters. Calling context: Task
- Parameters
-
- Returns
- void
- See also
- UART_open()
Referenced by UART_callbackObject().
§ UARTMSP_dmaStopTx()
This function stops DMA tx and disables the channel.
- Precondition
- Config Parameters. Calling context: Task
- Parameters
-
- Returns
- Returns the remaining bytes to transmit.
- See also
- UART_open()
Referenced by UART_callbackObject().
§ UARTMSP_enableInts()
This function enables receive, receive timeout, and error interrupts.
- Precondition
- Config Parameters. Calling context: Task
- Parameters
-
- Returns
- void
- See also
- UART_open()
Referenced by UART_callbackObject().