2.11.1 megaAVR® Devices
The Analog-to-Digital Converter (ADC) of the megaAVR devices has different register sets and limited features compared to the AVR Dx devices. Due to those differences, the migrated software must be fully tested and validated to ensure similar functionality on both families.
For the megaAVR devices, the ADC has a 10-bit resolution and a sample rate of up to 15 ksps. The ADC is connected to an 8-channel Analog Multiplexer, which allows eight single-ended voltage inputs constructed using the pins of Port A. The device also supports 16 differential voltage input combinations, two of them being equipped with a programmable gain stage. The input configuration is selected using the Analog Channel and Gain Selection bit field in the ADC Multiplexer Selection (ADMUX) register.