Xmega Application Note


Analog to Digital Converter (ADC)

Collaboration diagram for Analog to Digital Converter (ADC):

Modules

 ADC module
 ADC channel

Detailed Description

This is a driver for the AVR XMEGA ADC. It provides functions for enabling, disabling and configuring the ADC modules and their individual channels.

The driver API is split in two parts:

Both APIs use structures that contain the configuration. These structures must be set up before the configuration is written to either an ADC module or one of their channels.

After the ADC has been configured, it must be enabled before any conversions can be done.

Note:
The functions for creating/changing configurations are not protected against interrupts. The functions that read from or write to the ADC's registers are protected.

Dependencies

This driver depends on the following modules:

@DOC_TITLE@
Generated on Fri Oct 22 12:15:26 2010 for AVR1300 Using the Xmega ADC by doxygen 1.6.3