/* Returns the last ADCx conversion result data for regular channel.  */
uint16_t ADC_GetConversionValue(ADC_TypeDef *ADCx)
/* Returns the last ADCx conversion result data for regular channel.  */
uint16_t ADC_GetConversionValue(ADC_TypeDef *ADCx)
{
    assert_param(IS_ADC_ALL_PERIPH(ADCx));
    return (uint16_t) ADCx->ADDATA;
}