AnsweredAssumed Answered

STM32F0 Disvovery Cube ADC general questions

Question asked by pohl.maximilian.001 on Jun 17, 2015
Latest reply on Jun 17, 2015 by Clive One
Hi guys,
i just switched from 16bit Microchip to STM32F0.
I use Cube and HAL Library.

Simply want to convert three ADC Channels (ADC1, Temperature Sensor, Vrefint).

I use the following code to convert ADC1:

    HAL_ADC_Start(&hadc);        
    HAL_ADC_PollForConversion(&hadc, 100);
    adc_result = HAL_ADC_GetValue(&hadc);

How can i change the channel to access the result of the other ADC channels.
The available documentation is very bad .

regards
Max

Outcomes