1.2.5.9 DMA_ChannelInterruptDisable Function

C

void DMA_ChannelInterruptDisable ( DMA_CHANNEL channel, DMA_INT intSources )

Summary

This API is used to disable DMA channel interrupt

Description

This API is used to disable DMA channel interrupt

Precondition

DMA should have been initialized by calling DMA_Initialize.

Parameters

Param Description
channel DMA channel
intSources Interrupt source to disable. Bit-wise OR of following macros: DMA_INT_START_DETECTED, DMA_INT_TRANSFER_ABORT, DMA_INT_CELL_TRANSFER_COMPLETE, DMA_INT_BLOCK_TRANSFER_COMPLETE, DMA_INT_BLOCK_HALF_TRANSFER_COMPLETE, DMA_INT_LINKED_LIST_DONE, DMA_INT_WRITE_ERROR, DMA_INT_READ_ERROR

Returns

None.

Example

DMA_ChannelInterruptDisable (DMA_CHANNEL_0, (DMA_INT_BLOCK_TRANSFER_COMPLETE | DMA_INT_WRITE_ERROR));

Remarks

None.