/* Enables or disables the ADC Analog Watchdog Single Channel.  */
void ADC_AnalogWatchdogSingleChannelCmd(ADC_TypeDef *ADCx, FunctionalState NewState)
/* Enables or disables the ADC Analog Watchdog Single Channel.  */
void ADC_AnalogWatchdogSingleChannelCmd(ADC_TypeDef *ADCx, FunctionalState NewState)
{
    assert_param(IS_ADC_ALL_PERIPH(ADCx));
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
    {
        ADCx->CFGR1 |= ADC_CFGR1_AWDSGL;
    }
    else
    {
        ADCx->CFGR1 &= (uint32_t)~ADC_CFGR1_AWDSGL;
    }
}