AM263Px MCU+ SDK  10.01.00
ospi_lld_dma.h File Reference

Introduction

OSPI LLD DMA header file.

Go to the source code of this file.

Data Structures

struct  OSPI_DmaFxns
 Driver implementation callbacks. More...
 
struct  OSPI_DmaConfig
 OSPI DMA Configuration, these are filled by SysCfg based on the DMA driver that is selected. More...
 

Typedefs

typedef void * OSPI_DmaHandle
 Handle to the OSPI DMA Config Object returned by OSPI_dmaOpen. More...
 
typedef int32_t(* OSPI_dmaOpenFxn) (void *ospiDmaArgs)
 Driver implementation to open a specific DMA driver channel - UDMA, EDMA etc. More...
 
typedef int32_t(* OSPI_dmaCloseFxn) (void *ospiDmaArgs)
 Driver implementation to close a specific DMA driver channel - UDMA, EDMA etc. More...
 
typedef 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. More...
 
typedef int32_t(* OSPI_dmaItrFxn) (void *ospiDmaArgs)
 Driver implementation to get the interrupt enable status for DMA driver channel. More...
 

Functions

int32_t OSPI_dmaOpen (int32_t index)
 API to open an OSPI DMA channel. More...
 
int32_t OSPI_dmaClose (OSPI_DmaHandle handle)
 API to close an OSPI DMA channel. More...
 
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. More...
 
int32_t OSPI_isDmaInterruptEnabled (OSPI_DmaHandle handle)
 API to get the DMA Interrupt status. More...