I've configured 5 ADC channels (with ADC interrupt disabled) as shown:
and defined 2 groups (1st of channel 0 and 2nd of channel 1 to 5
For the channel 0 (group 0) I'd like to start the ADC conversion and get the value into a periodic timer driven ISR. For the other ones, channels 1 to 5 (group 1) I want to get the values from the main loop. In short, what ADC method should I use to perform?
- A single ADC conversion for the channel 0 in the ISR
- Four ADC (auto-scan) conversion for the channels 1 to 5