See Quick start guide for XMEGA ADC.
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 may be performed. To ensure accurate conversions, please wait for at least the specified start-up time between enabling the ADC module, and starting a conversion. For most XMEGA devices the start-up time is specified to be a maximum of 24 ADC clock cycles. Please verify the start-up time for the device in use.
This driver depends on the following modules:
Modules | |
Related Project(s) | |
In this section you can find all the projects related to the Analog to Digital Converter (ADC). | |
Quick Start Guide(s) | |
In this section you can find a list of all Quick Start guides related to the Analog to Digital Converter (ADC). | |
ADC module | |
Management and configuration functions for the ADC module. | |
ADC channel | |
Management and configuration functions for the individual ADC channels. | |