/* Checks whether the specified LTDC's interrupt has occurred or not.  */
ITStatus LTDC_GetITStatus(uint32_t LTDC_IT)
/* Checks whether the specified LTDC's interrupt has occurred or not.  */
ITStatus LTDC_GetITStatus(uint32_t LTDC_IT)
{
  ITStatus bitstatus = RESET;
  assert_param(IS_LTDC_IT(LTDC_IT));
  if ((LTDC->ISR & LTDC_IT) != (uint32_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  if (((LTDC->IER & LTDC_IT) != (uint32_t)RESET) && (bitstatus != (uint32_t)RESET))
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return bitstatus;
}