The documentation has such a definition for this macro:
Checks whether the specified DMA Channel interrupt has occurred or not.
And the documentation said the __INTERRUPT__ can be one of the following values:
But I'm thinking this macro actually checks if the specified DMA Interrupt is enabled or not.
If I want to check which interrupt is signalled I should check
DMA Inerrupt status register (DMA_ISR) instead of DMA channel x configuration register ( DMA_CCRx)?
Please correct me if I made any mistake here.