__HAL_DMA_GET_IT_SOURCE macro
Check whether the specified DMA Stream interrupt is enabled or disabled.
Syntax
#define __HAL_DMA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((__INTERRUPT__) != DMA_IT_FE)? \
((__HANDLE__)->Instance->CR & (__INTERRUPT__)) : \
((__HANDLE__)->Instance->FCR & (__INTERRUPT__)))
Arguments
__INTERRUPT__
specifies the DMA interrupt source to check. This parameter can be one of the following values: @arg DMA_IT_TC: Transfer complete interrupt mask. @arg DMA_IT_HT: Half transfer complete interrupt mask. @arg DMA_IT_TE: Transfer error interrupt mask. @arg DMA_IT_FE: FIFO error interrupt mask. @arg DMA_IT_DME: Direct mode error interrupt.
Return value
The state of DMA_IT.