This example shows all the different low power modes with several types of wake-up sources. And the consumption of the core in different power modes can be measured.
This package can be used with SAM evaluation kits.
The program will display a menu on console. It allows users to change the configuration and enter into a different power mode, and then measure the power consumption.
For Eks, an amperemeter has to be plugged on the board instead of the VDDx jumper.
Note that for better consumption measurement: