/* Checks whether the LCD start of new frame flag is set or not.  */
FlagStatus LCD_GetFlagStatus(void)
/* Checks whether the LCD start of new frame flag is set or not.  */
FlagStatus LCD_GetFlagStatus(void)
{
  FlagStatus status = RESET;
  if ((LCD->CR3 & (uint8_t)LCD_CR3_SOF) != (uint8_t)RESET)
  {
    status = SET;
  }
  else
  {
    status = RESET;
  }
  return status;
}