5 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:
- Single conversion mode.
- Free-running mode and conversion complete interrupt.
- Auto triggering using Timer0 compare event as trigger source.
- Measurement of bandgap reference voltage.
- Noise Reduction Sleep.