Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c2eb5090 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen
Browse files

[AVR32] Put the chip in "stop" mode when halting the system



Make machine_halt() execute a sleep instruction to put the chip in
"stop" mode when the system is halted. This switches off all clocks
except the 32 kHz oscillator, which is needed for the RTC to keep
ticking.

Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent 01cb087e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment