50 #ifndef ti_drivers_uart_UARTMSPM0G1X0X_G3X0X__include 51 #define ti_drivers_uart_UARTMSPM0G1X0X_G3X0X__include 53 #include <ti/devices/msp/msp.h> 68 #define UART_RX_ERRS \ 69 (DL_UART_INTERRUPT_OVERRUN_ERROR | DL_UART_INTERRUPT_BREAK_ERROR | \ 70 DL_UART_INTERRUPT_PARITY_ERROR | \ 71 DL_UART_INTERRUPT_FRAMING_ERROR) Private Metadata structure for a UART instance supporting callbacks.
Definition: UARTSupportMSPM0G1X0X_G3X0X.h:192
const UARTSupport_Fxns UARTMSPSupportFxns
UART support function pointers.
void UARTMSP_interruptHandler(UART_Handle handle)
This function handles the UART interrupts.
IRQn_Type irq
Definition: UARTMSPM0G1X0X_G3X0X.h:80
void UARTMSP_dmaStopRx(UART_Handle handle)
This function stops DMA rx and disables the channel.
DL_UART_DIRECTION direction
Definition: UARTMSPM0G1X0X_G3X0X.h:86
void * object
Definition: UARTSupportMSPM0G1X0X_G3X0X.h:234
__STATIC_INLINE UART_Object * UART_Obj_Ptr(UART_Handle handle)
This function returns a pointer to UART object.
Definition: UARTMSPM0G1X0X_G3X0X.h:104
__STATIC_INLINE UART_EventCallback_Object * UART_eventCallbackObject(UART_Object *object)
This function returns a pointer to UART event callback object.
Definition: UARTMSPM0G1X0X_G3X0X.h:156
__STATIC_INLINE UART_Callback_Object * UART_callbackObject(UART_Object *object)
This function returns a pointer to UART callback object.
Definition: UARTMSPM0G1X0X_G3X0X.h:172
DL_UART_FLOW_CONTROL flowControl
Definition: UARTMSPM0G1X0X_G3X0X.h:87
DL_UART_TX_FIFO_LEVEL txIntFifoThr
Definition: UARTMSPM0G1X0X_G3X0X.h:91
uint32_t rxPin
Definition: UARTMSPM0G1X0X_G3X0X.h:81
UART Global configuration.
Definition: UARTSupportMSPM0G1X0X_G3X0X.h:231
void const * hwAttrs
Definition: UARTSupportMSPM0G1X0X_G3X0X.h:237
DL_UART_MODE mode
Definition: UARTMSPM0G1X0X_G3X0X.h:85
__STATIC_INLINE UART_Buffers_Object * UART_buffersObject(UART_Object *object)
This function returns a pointer to UART buffers object.
Definition: UARTMSPM0G1X0X_G3X0X.h:140
Private Metadata structure for a UART instance supporting hardware parameters.
Definition: UARTMSPM0G1X0X_G3X0X.h:77
UART_Regs * regs
Definition: UARTMSPM0G1X0X_G3X0X.h:79
Private Metadata structure for a UART instance supporting events.
Definition: UARTSupportMSPM0G1X0X_G3X0X.h:183
DL_UART_RX_FIFO_LEVEL rxIntFifoThr
Definition: UARTMSPM0G1X0X_G3X0X.h:90
uint32_t txPin
Definition: UARTMSPM0G1X0X_G3X0X.h:83
__STATIC_INLINE UARTMSP_HWAttrs * UART_HWAttrs_Ptr(UART_Handle handle)
This function returns a pointer to UART hardware Attribute.
Definition: UARTMSPM0G1X0X_G3X0X.h:120
DL_UART_CLOCK_DIVIDE_RATIO clockDivider
Definition: UARTMSPM0G1X0X_G3X0X.h:89
void UARTMSP_dmaRx(UART_Handle handle, bool copyfifo)
This function configures and starts DMA receive.
void UARTMSP_enableInts(UART_Handle handle)
This function enables receive, receive timeout, and error interrupts.
UART driver support APIs for the MSPM0G1X0X_G3X0X devices.
Private Metadata structure for a UART instance supporting buffers.
Definition: UARTSupportMSPM0G1X0X_G3X0X.h:168
Private Metadata structure for a UART instance.
Definition: UARTSupportMSPM0G1X0X_G3X0X.h:137
uint32_t txPinFunction
Definition: UARTMSPM0G1X0X_G3X0X.h:84
DL_UART_CLOCK clockSource
Definition: UARTMSPM0G1X0X_G3X0X.h:88
void UARTMSP_dmaTx(UART_Handle handle)
This function configures and starts DMA transfer.
uint32_t UARTMSP_dmaStopTx(UART_Handle handle)
This function stops DMA tx and disables the channel.
Function pointers to implementation/hardware specific logic.
Definition: UARTSupportMSPM0G1X0X_G3X0X.h:63
uint32_t rxPinFunction
Definition: UARTMSPM0G1X0X_G3X0X.h:82