STM32L431VC rading ADC value from 1 channel on multichannel set up
Hello,
I am using ADC1 channel 1, 3 and 5. All these three inputs are connected to different sensors and I want to create a driver to read those sensors. The problem is that I don't want to read all input channels at once, I want to be able to select which channel value to get. Also I want to use DMA and conversion complete interrupt. Is this possible? Which mode should I use to be able to tell ADC1 which channel value to convert? I am using HAL library. Right now I enabled scan mode, so after running HAL_ADC_Start_DMA() I get all sensors data.
