1.2.5.10 DMA_ChannelInterruptFlagsGet Function
C
DMA_INT DMA_ChannelInterruptFlagsGet ( DMA_CHANNEL channel )
Summary
This API is used to get the DMA channel interrupt flags
Description
This API is used to get the DMA channel interrupt flags
Precondition
DMA should have been initialized by calling DMA_Initialize.
Parameters
Param | Description |
---|---|
channel | DMA channel |
Returns
DMA_INT - Bit-wise OR of following interrupt flags. 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
Example
DMA_INT int_flag;
int_flag = DMA_ChannelInterruptFlagsGet (DMA_CHANNEL_0);
Remarks
None.