1.3.8.8 1.4.6.8 1.5.7.8 1.6.6.8 1.7.7.8 1.29.8.8 1.30.5.8 1.31.5.8 1.32.8.8 1.33.5.8 1.37.5.8 1.38.6.8 1.39.5.8 1.40.6.8 DMAC_ChannelSuspend Function
C
void DMAC_ChannelSuspend(DMAC_CHANNEL channel)
Summary
This function Suspends the DMA channel
Description
The function Suspends the specified DMAC channel. After the ongoing burst transfer is completed, the channel operation is suspended and the suspend command is automatically cleared.
Precondition
DMAC should have been initialized by calling DMAC_Initialize and channel should be enabled.
Parameters
Param | Description |
---|---|
DMAC_CHANNEL channel | the particular channel to be Suspended |
Returns
None.
Example
DMAC_ChannelSuspend (DMAC_CHANNEL_0);
Remarks
Only enabled DMA channels can be suspended. If a channel is disabled when it is attempted to be suspended, the internal suspend command will be ignored.