/* Checks whether the specified SDADC flag is set or not.  */
FlagStatus SDADC_GetFlagStatus(SDADC_TypeDef *SDADCx, uint32_t SDADC_FLAG)
/* Checks whether the specified SDADC flag is set or not.  */
FlagStatus SDADC_GetFlagStatus(SDADC_TypeDef *SDADCx, uint32_t SDADC_FLAG)
{
  FlagStatus bitstatus = RESET;
  assert_param(IS_SDADC_ALL_PERIPH(SDADCx));
  assert_param(IS_SDADC_GET_FLAG(SDADC_FLAG));
  if ((SDADCx->ISR & SDADC_FLAG) != (uint32_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return  bitstatus;
}