Although there is really only one ADC in the MCU, and only 8 external pins
for analog input purposes, the ADC peripheral has 32 possible channels
to select from. This is because the ATMega128 can operate in differential
mode and have internal amplifiers to amplify the voltage. The channel is
selected by MUX0 to MUX4 (bits 0 to 4 of ADMUX). Refer to
table 98 on page 242 for a full list of the channels.
Copyright © 2006-02-15 by Tak Auyeung