/* Enables or disables the selected ADC software start conversion .  */
void ADC_SoftwareStartConvCmd(ADC_TypeDef *ADCx, FunctionalState NewState)
/* Enables or disables the selected ADC software start conversion .  */
void ADC_SoftwareStartConvCmd(ADC_TypeDef *ADCx, FunctionalState NewState)
{
    assert_param(IS_ADC_ALL_PERIPH(ADCx));
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
    {
        ADCx->ADCR |= ADCR_SWSTART_Set;
    }
    else
    {
        ADCx->ADCR &= ADCR_SWSTART_Reset;
    }
}