/* Checks whether the specified DMA2D's interrupt has occurred or not.  */
ITStatus DMA2D_GetITStatus(uint32_t DMA2D_IT)
/* Checks whether the specified DMA2D's interrupt has occurred or not.  */
ITStatus DMA2D_GetITStatus(uint32_t DMA2D_IT)
{
  ITStatus bitstatus = RESET;
  uint32_t DMA2D_IT_FLAG = DMA2D_IT >> 8;
  assert_param(IS_DMA2D_IT(DMA2D_IT));
  if ((DMA2D->ISR & DMA2D_IT_FLAG) != (uint32_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  if (((DMA2D->CR & DMA2D_IT) != (uint32_t)RESET) && (bitstatus != (uint32_t)RESET))
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return bitstatus;
}