 |
AM64x MCU+ SDK
11.00.00
|
|
Go to the documentation of this file.
39 #ifndef OSPI_LLD_DMA_H_
40 #define OSPI_LLD_DMA_H_
102 typedef int32_t (*
OSPI_dmaCopyFxn)(
void *ospiDmaArgs,
void *dst,
void *src, uint32_t length, uint32_t timeout);
120 typedef struct OSPI_DmaFxns_s
132 typedef struct OSPI_DmaConfig_s
void * ospiDrvHandle
Definition: ospi_lld_dma.h:141
int32_t(* OSPI_dmaItrFxn)(void *ospiDmaArgs)
Driver implementation to get the interrupt enable status for DMA driver channel.
Definition: ospi_lld_dma.h:115
OSPI_dmaItrFxn dmaItrStatusFxn
Definition: ospi_lld_dma.h:125
int32_t(* OSPI_dmaOpenFxn)(void *ospiDmaArgs)
Driver implementation to open a specific DMA driver channel - UDMA, EDMA etc.
Definition: ospi_lld_dma.h:74
uint16_t index
Definition: tisci_rm_proxy.h:3
OSPI_dmaCloseFxn dmaCloseFxn
Definition: ospi_lld_dma.h:123
int32_t(* OSPI_dmaCloseFxn)(void *ospiDmaArgs)
Driver implementation to close a specific DMA driver channel - UDMA, EDMA etc.
Definition: ospi_lld_dma.h:86
OSPI_dmaCopyFxn dmaCopyFxn
Definition: ospi_lld_dma.h:124
void * OSPI_DmaHandle
Handle to the OSPI DMA Config Object returned by OSPI_dmaOpen.
Definition: ospi_lld_dma.h:62
int32_t OSPI_dmaOpen(int32_t index)
API to open an OSPI DMA channel.
int32_t OSPI_dmaCopy(OSPI_DmaHandle handle, void *dst, void *src, uint32_t length, uint32_t timeout)
API to do a DMA Copy using appropriate DMA Channel opened.
Driver implementation callbacks.
Definition: ospi_lld_dma.h:121
int32_t OSPI_dmaClose(OSPI_DmaHandle handle)
API to close an OSPI DMA channel.
OSPI_DmaFxns * fxns
Definition: ospi_lld_dma.h:134
OSPI_dmaOpenFxn dmaOpenFxn
Definition: ospi_lld_dma.h:122
int32_t(* OSPI_dmaCopyFxn)(void *ospiDmaArgs, void *dst, void *src, uint32_t length, uint32_t timeout)
Driver implementation to do a DMA copy using a specific DMA driver - UDMA, EDMA etc.
Definition: ospi_lld_dma.h:102
void * OSPI_DmaHandle
The handle for DMA instance used with OSPI.
Definition: ospi_lld.h:72
OSPI DMA Configuration, these are filled by SysCfg based on the DMA driver that is selected.
Definition: ospi_lld_dma.h:133
void * ospiDmaArgs
Definition: ospi_lld_dma.h:136
int32_t OSPI_isDmaInterruptEnabled(OSPI_DmaHandle handle)
API to get the DMA Interrupt status.