7.6.4.16 Function dma_suspend_job()

Suspend a DMA transfer.

void dma_suspend_job( struct dma_resource * resource)

This function will request to suspend the transfer of the DMA resource. The channel is kept enabled, can receive transfer triggers (the transfer pending bit will be set), but will be removed from the arbitration scheme. The channel operation can be resumed by calling dma_resume_job().

Note: This function sets the command to suspend the DMA channel associated with a DMA resource. The channel suspend interrupt flag indicates whether the transfer is truly suspended.
Table 7-24. Parameters
Data directionParameter nameDescription

[in]

resource

Pointer to the DMA resource