/* Returns the last ADCx conversion result data for ADC channel.  */
uint16_t ADC_GetConversionValue(ADC_TypeDef *ADCx)
/* Returns the last ADCx conversion result data for ADC channel.  */
uint16_t ADC_GetConversionValue(ADC_TypeDef *ADCx)
{
    uint16_t u16ADCValue ;
    assert_param(IS_ADC_ALL_PERIPH(ADCx));
    u16ADCValue = (uint16_t) ADCx->DR;
    ADCx->ISR |= ADC_ISR_OVR;
    return u16ADCValue;
}