/* Checks whether the specified DMAy Channelx interrupt has occurred or not.  */
ITStatus DMA_GetITStatus(uint32_t DMA_IT)
/* Checks whether the specified DMAy Channelx interrupt has occurred or not.  */
ITStatus DMA_GetITStatus(uint32_t DMA_IT)
{
    ITStatus bitstatus = RESET;
    uint32_t tmpreg = 0;
    assert_param(IS_DMA_GET_IT(DMA_IT));
    tmpreg = DMA1->ISR ;
    if ((tmpreg & DMA_IT) != (uint32_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return  bitstatus;
}