1 Assignment 1: Event System Compared to Interrupts
In this assignment, the power consumption of two different approaches will be compared. The first approach involves waking up the microcontroller from Sleep through a timer overflow interrupt that starts the ADC conversion to read the temperature sensor. When the conversion is done, the Result Ready Interrupt is triggered, and the result of the conversion is read.
In the second approach, the Event System (EVSYS) module will be used. This module allows the user to connect different peripherals through events. The previous approach will be modified such that the timer overflow will trigger an event that starts the ADC conversion that reads the temperature sensor. The end of the conversion will wake the microcontroller from Sleep to read the result.