MSPM0L11XX_L13XX TI-Driver Library  1.20.01.06
Data Structures | Macros | Functions | Variables
Collaboration diagram for UART MSPM0L11XX_L13XX driver APIs:

Data Structures

struct  UARTMSP_HWAttrs
 Private Metadata structure for a UART instance supporting hardware parameters. More...
 

Macros

#define UART_RX_ERRS
 UART receive errors. More...
 

Functions

__STATIC_INLINE UART_ObjectUART_Obj_Ptr (UART_Handle handle)
 This function returns a pointer to UART object. More...
 
__STATIC_INLINE UARTMSP_HWAttrsUART_HWAttrs_Ptr (UART_Handle handle)
 This function returns a pointer to UART hardware Attribute. More...
 
__STATIC_INLINE UART_Buffers_ObjectUART_buffersObject (UART_Object *object)
 This function returns a pointer to UART buffers object. More...
 
__STATIC_INLINE UART_EventCallback_ObjectUART_eventCallbackObject (UART_Object *object)
 This function returns a pointer to UART event callback object. More...
 
__STATIC_INLINE UART_Callback_ObjectUART_callbackObject (UART_Object *object)
 This function returns a pointer to UART callback object. More...
 
void UARTMSP_interruptHandler (UART_Handle handle)
 This function handles the UART interrupts. More...
 
void UARTMSP_enableInts (UART_Handle handle)
 This function enables receive, receive timeout, and error interrupts. More...
 

Variables

const UARTSupport_Fxns UARTMSPSupportFxns
 UART support function pointers.
 

Detailed Description

Overview

Refer to ti_drivers_UART_Overview for a complete description of APIs and examples of use.

Macro Definition Documentation

§ UART_RX_ERRS

#define 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.

Function Documentation

§ UART_Obj_Ptr()

__STATIC_INLINE UART_Object* UART_Obj_Ptr ( UART_Handle  handle)

This function returns a pointer to UART object.

Precondition
Config Parameters. Calling context: function
Parameters
handleA UART handle return by UART_open().
Returns
Return a UART object pointer.

References UART_Config_::object.

§ UART_HWAttrs_Ptr()

__STATIC_INLINE UARTMSP_HWAttrs* UART_HWAttrs_Ptr ( UART_Handle  handle)

This function returns a pointer to UART hardware Attribute.

Precondition
Config Parameters. Calling context: function
Parameters
handleA UART handle return by UART_open().
Returns
Return a UART HWAttrs pointer.

References UART_Config_::hwAttrs.

§ UART_buffersObject()

__STATIC_INLINE UART_Buffers_Object* UART_buffersObject ( UART_Object object)

This function returns a pointer to UART buffers object.

Precondition
Config Parameters. Calling context: function
Parameters
*objectA UART object pointer.
Returns
Return a UART buffers object pointer.

Referenced by UART_eventCallbackObject().

§ UART_eventCallbackObject()

__STATIC_INLINE UART_EventCallback_Object* UART_eventCallbackObject ( UART_Object object)

This function returns a pointer to UART event callback object.

Precondition
Config Parameters. Calling context: function
Parameters
*objectA UART object pointer.
Returns
Return a UART event callback object pointer.

References UART_buffersObject().

Referenced by UART_callbackObject().

§ UART_callbackObject()

__STATIC_INLINE UART_Callback_Object* UART_callbackObject ( UART_Object object)

This function returns a pointer to UART callback object.

Precondition
Config Parameters. Calling context: function
Parameters
*objectA UART object pointer.
Returns
Return a UART callback object pointer.

References UART_eventCallbackObject(), UARTMSP_enableInts(), and UARTMSP_interruptHandler().

§ UARTMSP_interruptHandler()

void UARTMSP_interruptHandler ( UART_Handle  handle)

This function handles the UART interrupts.

Precondition
Config Parameters.
Parameters
handleA UART handle return by UART_open().
Returns
void

Referenced by UART_callbackObject().

§ UARTMSP_enableInts()

void UARTMSP_enableInts ( UART_Handle  handle)

This function enables receive, receive timeout, and error interrupts.

Precondition
Config Parameters. Calling context: Task
Parameters
handleA UART handle return by UART_open().
Returns
void
See also
UART_open()

Referenced by UART_callbackObject().

© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale