/* Enables or disables the selected ADC software start conversion .  */
void ADC_SoftwareStartConvCmd(ADC_TypeDef *adc, FunctionalState state)
/* Enables or disables the selected ADC software start conversion .  */
void ADC_SoftwareStartConvCmd(ADC_TypeDef *adc, FunctionalState state)
{
    (state) ? (adc->ADCR |= ADC_CR_ADST) : (adc->ADCR &= ~ADC_CR_ADST);
}