Driver Implementation

This application note includes a source code package with a basic ADC driver implemented in C. It is developed with Atmel Studio 7 for the ATmega88 device. Note that this ADC driver is not intended for use with high-performance code. It is designed as a library to get started with the ADC.

Following are the features covered by the examples in this application note:

  1. 1.Single conversion mode.
  2. 2.Free-running mode and conversion complete interrupt.
  3. 3.Auto triggering using Timer0 compare event as trigger source.
  4. 4.Measurement of bandgap reference voltage.
  5. 5.Noise Reduction Sleep.