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