/* Checks whether the specified DMA2D's flag is set or not.  */
FlagStatus DMA2D_GetFlagStatus(uint32_t DMA2D_FLAG)
/* Checks whether the specified DMA2D's flag is set or not.  */
FlagStatus DMA2D_GetFlagStatus(uint32_t DMA2D_FLAG)
{
  FlagStatus bitstatus = RESET;
  assert_param(IS_DMA2D_GET_FLAG(DMA2D_FLAG));
  if (((DMA2D->ISR) & DMA2D_FLAG) != (uint32_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return bitstatus;
}