50 #ifndef ti_drivers_uart_UARTMSPM0__include 51 #define ti_drivers_uart_UARTMSPM0__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: UARTSupportMSPM0.h:193
IRQn_Type irq
Definition: UARTMSPM0.h:80
DL_UART_DIRECTION direction
Definition: UARTMSPM0.h:86
void * object
Definition: UARTSupportMSPM0.h:235
void UARTMSP_dmaRx(UART_Handle handle, bool copyfifo)
This function configures and starts DMA receive.
const UARTSupport_Fxns UARTMSPSupportFxns
UART support function pointers.
__STATIC_INLINE UART_Buffers_Object * UART_buffersObject(UART_Object *object)
This function returns a pointer to UART buffers object.
Definition: UARTMSPM0.h:140
DL_UART_FLOW_CONTROL flowControl
Definition: UARTMSPM0.h:87
DL_UART_TX_FIFO_LEVEL txIntFifoThr
Definition: UARTMSPM0.h:91
uint32_t rxPin
Definition: UARTMSPM0.h:81
UART Global configuration.
Definition: UARTSupportMSPM0.h:232
void UARTMSP_dmaTx(UART_Handle handle)
This function configures and starts DMA transfer.
void const * hwAttrs
Definition: UARTSupportMSPM0.h:238
DL_UART_MODE mode
Definition: UARTMSPM0.h:85
__STATIC_INLINE UART_Callback_Object * UART_callbackObject(UART_Object *object)
This function returns a pointer to UART callback object.
Definition: UARTMSPM0.h:172
Private Metadata structure for a UART instance supporting hardware parameters.
Definition: UARTMSPM0.h:77
UART_Regs * regs
Definition: UARTMSPM0.h:79
Private Metadata structure for a UART instance supporting events.
Definition: UARTSupportMSPM0.h:184
DL_UART_RX_FIFO_LEVEL rxIntFifoThr
Definition: UARTMSPM0.h:90
uint32_t txPin
Definition: UARTMSPM0.h:83
__STATIC_INLINE UARTMSP_HWAttrs * UART_HWAttrs_Ptr(UART_Handle handle)
This function returns a pointer to UART hardware Attribute.
Definition: UARTMSPM0.h:120
DL_UART_CLOCK_DIVIDE_RATIO clockDivider
Definition: UARTMSPM0.h:89
void UARTMSP_interruptHandler(UART_Handle handle)
This function handles the UART interrupts.
Private Metadata structure for a UART instance supporting buffers.
Definition: UARTSupportMSPM0.h:169
__STATIC_INLINE UART_EventCallback_Object * UART_eventCallbackObject(UART_Object *object)
This function returns a pointer to UART event callback object.
Definition: UARTMSPM0.h:156
Private Metadata structure for a UART instance.
Definition: UARTSupportMSPM0.h:137
__STATIC_INLINE UART_Object * UART_Obj_Ptr(UART_Handle handle)
This function returns a pointer to UART object.
Definition: UARTMSPM0.h:104
void UARTMSP_enableInts(UART_Handle handle)
This function enables receive, receive timeout, and error interrupts.
uint32_t txPinFunction
Definition: UARTMSPM0.h:84
DL_UART_CLOCK clockSource
Definition: UARTMSPM0.h:88
uint32_t UARTMSP_dmaStopTx(UART_Handle handle)
This function stops DMA tx and disables the channel.
UART driver support APIs for the MSPM0 devices.
Function pointers to implementation/hardware specific logic.
Definition: UARTSupportMSPM0.h:63
uint32_t rxPinFunction
Definition: UARTMSPM0.h:82
void UARTMSP_dmaStopRx(UART_Handle handle)
This function stops DMA rx and disables the channel.