The content of this repository has been moved to https://github.com/microchip-pic-avr-examples/atmega4809-getting-started-with-adc-studio . Additionally, a repository containing MCC generated code examples for AVR128DA48 with the same functionality can be found at https://github.com/microchip-pic-avr-examples/avr128da48-getting-started-with-adc-mplab-mcc . This repository is obsolete and it will not be maintained.
This repository contains examples of bare metal source code for ADC as described in TB3209 document from Microchip. The repository contains an Atmel Studio Solution with multiple projects inside. Make sure you have the necessary tools:
- ATmega4809 device (or evaluation board ATmega4809 Xplained PRO)
- Atmel Studio
- ATmega4809 Device Packs
The following examples are inside this repository:
- ADC Single Conversion
- ADC Free Running
- ADC Sample Accumulator
- ADC Window Comparator
- ADC Event Triggered