/* Checks whether the specified DMA Channelx interrupt has occurred or not.  */
INTStatus DMA_GetIntStatus(uint32_t DMA_IT, DMA_Module *DMAy)
/* Checks whether the specified DMA Channelx interrupt has occurred or not.  */
INTStatus DMA_GetIntStatus(uint32_t DMA_IT, DMA_Module *DMAy)
{
    INTStatus bitstatus  = RESET;
    uint32_t tmpregister = 0;
    assert_param(IS_DMA_GET_IT(DMA_IT));
    tmpregister = DMAy->INTSTS;
    if ((tmpregister & DMA_IT) != (uint32_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}