AVR Software Framework: AVR XMEGA ADC driver
Copyright © 2010 Atmel Corporation
Introduction
The Analog to Digital Converter (ADC) can be used to measure internal and external signals, both single-ended and differentially, with up to 12-bit resolution.
XMEGA ADC Driver Examples
There are two examples included in this framework and they support both GCC and IAR: