commit | c2eb5090ee531a50533ba9e739071c21f98a5a77 | [log] [tgz] |
---|---|---|
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | Mon Dec 04 12:01:36 2006 +0100 |
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | Fri Dec 08 13:06:23 2006 +0100 |
tree | 921853eb78d2a2ab581fd989c3b3615948ad8a65 | |
parent | 01cb087e747538d6a831c3ab370a1e1fd4538d5c [diff] |
[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: Haavard Skinnemoen <hskinnemoen@atmel.com>