iLLD_TC27xD  1.0
Module Initialization
Collaboration diagram for Module Initialization:

Functions

IFX_EXTERN void IfxDma_Dma_createModuleHandle (IfxDma_Dma *dmaHandle, Ifx_DMA *dma)
 initializes a DMA module handle based on the current configuration. Can be used in code where it's ensure that the DMA module is already initialized, and a DMA handle isn't globally available. More...
 
IFX_EXTERN void IfxDma_Dma_deInitModule (IfxDma_Dma *dma)
 de-initialize the DMA module More...
 
IFX_EXTERN void IfxDma_Dma_initModule (IfxDma_Dma *dma, const IfxDma_Dma_Config *config)
 Initialize the DMA module. More...
 
IFX_EXTERN void IfxDma_Dma_initModuleConfig (IfxDma_Dma_Config *config, Ifx_DMA *dma)
 initialize the DMA module configuration More...
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxDma_Dma_createModuleHandle ( IfxDma_Dma dmaHandle,
Ifx_DMA *  dma 
)

initializes a DMA module handle based on the current configuration. Can be used in code where it's ensure that the DMA module is already initialized, and a DMA handle isn't globally available.

Parameters
dmaHandlepointer to the DMA module handle
dmapointer to the DMA registers
Returns
None
IfxDma_Dma_createModuleHandle(&dma, &MODULE_DMA);

Definition at line 100 of file IfxDma_Dma.c.

Referenced by IfxQspi_SpiMaster_initModule(), and IfxQspi_SpiSlave_initModule().

IFX_EXTERN void IfxDma_Dma_deInitModule ( IfxDma_Dma dma)

de-initialize the DMA module

Parameters
dmapointer to the DMA module handle
Returns
None

Definition at line 106 of file IfxDma_Dma.c.

IFX_EXTERN void IfxDma_Dma_initModule ( IfxDma_Dma dma,
const IfxDma_Dma_Config config 
)

Initialize the DMA module.

Parameters
dmapointer to the DMA module handle
configPointer to configuration structure of the DMA module
Returns
None

See Memory-to-Memory Transfers

Definition at line 200 of file IfxDma_Dma.c.

IFX_EXTERN void IfxDma_Dma_initModuleConfig ( IfxDma_Dma_Config config,
Ifx_DMA *  dma 
)

initialize the DMA module configuration

Parameters
configPointer to configuration structure of the DMA module
dmapointer to the DMA registers
Returns
None

See Memory-to-Memory Transfers

Definition at line 206 of file IfxDma_Dma.c.