iLLD_TC29x  1.0
IfxDma_Dma.h File Reference

DMA DMA details. More...

#include "_Impl/IfxDma_cfg.h"
#include "Dma/Std/IfxDma.h"
#include "Cpu/Std/IfxCpu.h"

Go to the source code of this file.

Data Structures

struct  IfxDma_Dma
 DMA base address data structure (Module handle) More...
 
struct  IfxDma_Dma_Channel
 Channel handle. More...
 
struct  IfxDma_Dma_ChannelConfig
 Configuration data structure of the channel. More...
 
struct  IfxDma_Dma_Config
 Configuration data structure of the Module. More...
 

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...
 
IFX_EXTERN void IfxDma_Dma_initChannel (IfxDma_Dma_Channel *channel, const IfxDma_Dma_ChannelConfig *config)
 initialize the DMA channel More...
 
IFX_EXTERN void IfxDma_Dma_initChannelConfig (IfxDma_Dma_ChannelConfig *config, IfxDma_Dma *dma)
 initialize the DMA module channel configuration More...
 
IFX_INLINE volatile Ifx_SRC_SRCR * IfxDma_Dma_getSrcPointer (IfxDma_Dma_Channel *channel)
 Returns the SRC pointer for given DMA channel. More...
 
IFX_EXTERN void IfxDma_Dma_initLinkedListEntry (void *ptrToAddress, const IfxDma_Dma_ChannelConfig *config)
 linked list functionality within the DMA module More...
 
IFX_INLINE void IfxDma_Dma_clearChannelInterrupt (IfxDma_Dma_Channel *channel)
 Clear a channel transfer interrupt flag. More...
 
IFX_INLINE boolean IfxDma_Dma_getAndClearChannelInterrupt (IfxDma_Dma_Channel *channel)
 Return and clear a channel transfer interrupt flag The flag is automatically cleared with the call to this function. More...
 
IFX_INLINE boolean IfxDma_Dma_getChannelInterrupt (IfxDma_Dma_Channel *channel)
 Return a channel transfer interrupt flag. More...
 
IFX_INLINE boolean IfxDma_Dma_isChannelTransactionPending (IfxDma_Dma_Channel *channel)
 Poll for an ongoing transaction. More...
 
IFX_INLINE void IfxDma_Dma_setChannelDestinationAddress (IfxDma_Dma_Channel *channel, uint32 address)
 Re-initialize the destination address after a transaction. More...
 
IFX_INLINE void IfxDma_Dma_setChannelSourceAddress (IfxDma_Dma_Channel *channel, uint32 address)
 Re-initialize the source address after a transaction. More...
 
IFX_INLINE void IfxDma_Dma_setChannelTransferCount (IfxDma_Dma_Channel *channel, uint32 transferCount)
 Re-initialize the transfer count after a transaction. More...
 
IFX_INLINE void IfxDma_Dma_startChannelTransaction (IfxDma_Dma_Channel *channel)
 initiate the DMA move transaction More...
 

Detailed Description

DMA DMA details.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxDma_Dma.h.