iLLD_TC27xD  1.0
Reset Functions
Collaboration diagram for Reset Functions:

Functions

IFX_INLINE boolean IfxDma_isChannelReset (Ifx_DMA *dma, IfxDma_ChannelId channelId)
 Return the status of a DMA channel (reset / not reset) More...
 
IFX_INLINE void IfxDma_resetChannel (Ifx_DMA *dma, IfxDma_ChannelId channelId)
 Reset the channel. More...
 

Detailed Description

Function Documentation

IFX_INLINE boolean IfxDma_isChannelReset ( Ifx_DMA *  dma,
IfxDma_ChannelId  channelId 
)

Return the status of a DMA channel (reset / not reset)

Parameters
dmapointer to DMA module
channelIdDMA channel number
Returns
TRUE if the channel is reset FALSE if the channel is not reset
// check whether the channel is reset or not and also the hardware trigger disabled
if (IfxDma_isChannelReset(chn[0].dma, chn[0].channelId) &&
(!IfxDma_isChannelTransactionEnabled(chn[0].dma, chn[0].channelId))) {
// Dma is out of RESET and there is no hardware request enabled
}

Definition at line 1425 of file IfxDma.h.

IFX_INLINE void IfxDma_resetChannel ( Ifx_DMA *  dma,
IfxDma_ChannelId  channelId 
)

Reset the channel.

Parameters
dmapointer to DMA module
channelIdDMA channel number
Returns
None
// Apply reset to the channel
IfxDma_resetChannel(chn[0].dma, chn[0].channelId);

Definition at line 1449 of file IfxDma.h.