UART DMA header file.
Go to the source code of this file.
Data Structures | |
struct | UART_DmaFxns |
Driver implementation callbacks. More... | |
struct | UART_DmaConfig |
UART DMA Configuration, these are filled by SysCfg based on the DMA driver that is selected. More... | |
Typedefs | |
typedef void * | UART_DmaHandle |
Handle to the UART DMA Config Object returned by UART_dmaOpen. More... | |
typedef int32_t(* | UART_dmaOpenFxn) (UART_Handle uartHandle, void *uartDmaArgs) |
Driver implementation to open a specific DMA driver channel - UDMA, EDMA etc. More... | |
typedef int32_t(* | UART_dmaTransferReadFxn) (UART_Object *obj, UART_Transaction *transaction) |
Driver implementation to do a DMA read using a specific DMA driver - UDMA, EDMA etc. More... | |
typedef int32_t(* | UART_dmaTransferWriteFxn) (UART_Object *obj, UART_Transaction *transaction) |
Driver implementation to do a DMA write using a specific DMA driver - UDMA, EDMA etc. More... | |
typedef int32_t(* | UART_dmaCloseFxn) (UART_Handle handle) |
Driver implementation to close a specific DMA driver channel - UDMA, EDMA etc. More... | |
typedef int32_t(* | UART_dmaDisableChannelFxn) (UART_Handle handle, uint32_t isChannelTx) |
Driver implementation to diisable a specific DMA driver channel - UDMA, EDMA etc. More... | |
Functions | |
UART_DmaHandle | UART_dmaOpen (UART_Handle uartHandle, int32_t index) |
API to open an UART DMA channel. More... | |
int32_t | UART_dmaClose (UART_Handle handle) |
API to close an UART DMA channel. More... | |
int32_t | UART_dmaDisableChannel (UART_Handle handle, uint32_t isChannelTx) |
API to disable an DMA channel. More... | |
int32_t | UART_writeInterruptDma (UART_Object *obj, UART_Transaction *transaction) |
API to write data using an UART DMA channel. More... | |
int32_t | UART_readInterruptDma (UART_Object *obj, UART_Transaction *transaction) |
API to read data using an UART DMA channel. More... | |