/* Checks whether the specified SDADC interrupt has occurred or not.  */
ITStatus SDADC_GetITStatus(SDADC_TypeDef *SDADCx, uint32_t SDADC_IT)
/* Checks whether the specified SDADC interrupt has occurred or not.  */
ITStatus SDADC_GetITStatus(SDADC_TypeDef *SDADCx, uint32_t SDADC_IT)
{
  ITStatus bitstatus = RESET;
  uint32_t itstatus = 0, enablestatus = 0;
  assert_param(IS_SDADC_ALL_PERIPH(SDADCx));
  assert_param(IS_SDADC_GET_IT(SDADC_IT));
  itstatus = (uint32_t) (SDADC_IT & SDADCx->ISR);
  enablestatus = (SDADCx->CR1 & (uint32_t)SDADC_IT);
  if ((itstatus != (uint32_t)RESET) && (enablestatus != (uint32_t)RESET))
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return  bitstatus;
}