/* 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;
  assert_param(IS_DMA_GET_IT(DMA_IT));
  if ((DMA1->ISR & DMA_IT) != (uint32_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return  bitstatus;
}