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