|
AM62Ax MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
144 typedef struct MCSPI_DmaFxns_s
154 #if defined (DMA_VERSION_MCSPI_UDMA)
157 #if defined (DMA_VERSION_MCSPI_EDMA)
164 typedef struct MCSPI_DmaConfig_s
Definition: mcspi_dma_udma.h:50
MCSPI instance attributes - used during init time.
Definition: mcspi/v0/mcspi.h:491
MCSPI channel object.
Definition: mcspi/v0/mcspi.h:532
MCSPI_dmaCloseFxn dmaCloseFxn
Definition: mcspi_dma.h:147
int32_t MCSPI_dmaChInit(MCSPI_Handle handle, const MCSPI_ChConfig *chCfg, const MCSPI_DmaChConfig *dmaChCfg)
API to init a DMA Channel opened.
Data structure used with MCSPI_transfer()
Definition: mcspi/v0/mcspi.h:355
int32_t(* MCSPI_dmaChInitFxn)(MCSPI_Handle handle, const MCSPI_ChConfig *chCfg, const MCSPI_DmaChConfig *dmaChCfg)
Driver implementation to init a DMA channel params using a specific DMA driver - UDMA,...
Definition: mcspi_dma.h:102
MCSPI driver object.
Definition: mcspi/v0/mcspi.h:589
MCSPI_dmaOpenFxn dmaOpenFxn
Definition: mcspi_dma.h:146
int32_t(* MCSPI_dmaCloseFxn)(MCSPI_Handle handle, const MCSPI_ChConfig *chCfg)
Driver implementation to close a specific DMA driver channel - UDMA, EDMA etc.
Definition: mcspi_dma.h:88
void * MCSPI_Handle
A handle that is returned from a MCSPI_open() call.
Definition: mcspi/v0/mcspi.h:82
int32_t MCSPI_dmaTransfer(MCSPI_Object *obj, MCSPI_ChObject *chObj, const MCSPI_Attrs *attrs, MCSPI_Transaction *transaction)
API to do a DMA transfer using a specific DMA driver - UDMA, EDMA etc.
MCSPI_DmaHandle MCSPI_dmaOpen(int32_t dmaConfigIndex)
API to open an MCSPI DMA channel.
int32_t MCSPI_dmaStop(MCSPI_Object *obj, const MCSPI_Attrs *attrs, MCSPI_ChObject *chObj, uint32_t chNum)
API to Stop DMA using a specific DMA driver - UDMA, EDMA etc.
int32_t(* MCSPI_dmaTransferMasterFxn)(MCSPI_Object *obj, MCSPI_ChObject *chObj, const MCSPI_Attrs *attrs, MCSPI_Transaction *transaction)
Driver implementation to do a DMA transfer using a specific DMA driver - UDMA, EDMA etc.
Definition: mcspi_dma.h:119
Driver implementation callbacks.
Definition: mcspi_dma.h:145
MCSPI_dmaTransferMasterFxn dmaTransferMasterFxn
Definition: mcspi_dma.h:149
MCSPI_dmaChInitFxn dmaChInitFxn
Definition: mcspi_dma.h:148
void * MCSPI_DmaHandle
Handle to the MCSPI DMA Config Object returned by MCSPI_dmaOpen.
Definition: mcspi_dma.h:63
int32_t(* MCSPI_dmaOpenFxn)(void *mcspiDmaArgs)
Driver implementation to open a specific DMA driver channel - UDMA, EDMA etc.
Definition: mcspi_dma.h:75
int32_t MCSPI_dmaClose(MCSPI_Handle handle, const MCSPI_ChConfig *chCfg)
API to close an MCSPI DMA channel.
MCSPI_DmaFxns * fxns
Definition: mcspi_dma.h:166
int32_t(* MCSPI_dmaStopFxn)(MCSPI_Object *obj, const MCSPI_Attrs *attrs, MCSPI_ChObject *chObj, uint32_t chNum)
Driver implementation to Stop DMA using a specific DMA driver - UDMA, EDMA etc.
Definition: mcspi_dma.h:136
MCSPI_dmaStopFxn dmaStopFxn
Definition: mcspi_dma.h:150
void * mcspiDmaArgs
Definition: mcspi_dma.h:168
MCSPI configuration parameters for the channel.
Definition: mcspi/v0/mcspi.h:451
MCSPI DMA Configuration, these are filled by SysCfg based on the DMA driver that is selected.
Definition: mcspi_dma.h:165