I am a beginner in programming with AVR MCU and understand that setting ADMUX to values 0,1,2,3,4,5,6,7 will correspondingly enable ADC0,1,2,3,4,5,6, ADC7 AVR MCU ADC.
ADMUX = 0b11000000; /* means ADC0 as Input and using Internal VRef*/
But if I want to use both ADC0 and ADC1 for input then what values in ADMUX I should set as 0b11000001 would mean ADC1 as input only. As such do I set in a loop values 0 and 1 in ADMUX and iterate?
Please let me know how can I select both ADC0 and ADC1 (more than one) ports for ADC input and read input value respectively.