Copyright © 2009 Atmel Corporation
The ADC Interface (ADCIFB) converts analog input voltages to digital values. The ADCIFB is based on a Successive Approximation Register (SAR) 10-bit Analog-to-Digital Converter (ADC). The conversions extend from 0V to ADVREF. The ADCIFB supports 8-bit, 10-bit, 11-bit, or 12-bit resolution mode, and conversion results are reported in a common register for all channels.
The driver is composed of adcifb.c and adcifb.h.
An example is available: Basic 12-bit resolution one-channel manual conversion example of usage.