/* The hold enable bit of the sample-hold circuit.  */
void ADC_IoshAmpCmd(uint32_t AmpEn, FunctionalState NewState)
/* The hold enable bit of the sample-hold circuit.  */
void ADC_IoshAmpCmd(uint32_t AmpEn, FunctionalState NewState)
{
    assert_param(IS_ADC_AMPEN(AmpEn));
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
    {
        ADC->CR2 |= AmpEn;
    }
    else
    {
        ADC->CR2 &= ~AmpEn;
    }
}