The content of this repository has been moved to https://github.com/microchip-pic-avr-examples/atmega4809-getting-started-with-rtc-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-rtc-mplab-mcc . This repository is obsolete and it will not be maintained.
This repository contains examples of bare metal source code for RTC as described in TB3213 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:
- RTC Overflow Interrupt
- RTC Periodic Interrupt
- RTC PIT Wake from Sleep