/* Checks whether the specified RTC interrupt has occurred or not.  */
ITStatus LCD_GetITStatus(uint32_t LCD_IT)
/* Checks whether the specified RTC interrupt has occurred or not.  */
ITStatus LCD_GetITStatus(uint32_t LCD_IT)
{
  ITStatus bitstatus = RESET;
  assert_param(IS_LCD_GET_IT(LCD_IT));
  if ((LCD->SR & LCD_IT) != (uint16_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  if (((LCD->FCR & LCD_IT) != (uint16_t)RESET) && (bitstatus != (uint32_t)RESET))
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return bitstatus;
}