/* Returns the last adc conversion result data for regular channel.  */
u16 ADC_GetConversionValue(ADC_TypeDef *adc)
/* Returns the last adc conversion result data for regular channel.  */
u16 ADC_GetConversionValue(ADC_TypeDef *adc)
{
    return (u16)adc->ADDATA;
}