1.39.5.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.