Example of using sleep/deepsleep with the LPC812
After some initial code the device goes into powerdown (deepsleep), or sleep mode. By creating a rising edge on pin D0 (I just use a cable to connect it to Vdd) it will leave sleep, blink blue, and go to sleep again. Aditionally after 10 seconds of sleep it will blink green using the low-power wake-up timer.
Brownout detection and Watchdog timer are disabled since in deepsleep they are the primary power consumers.
History
Added wakeup timer.
2013-11-23, by Sissors [Sat, 23 Nov 2013 11:36:34 +0000] rev 1
Added wakeup timer.
Example of sleep modii of the LPC81x
2013-11-20, by Sissors [Wed, 20 Nov 2013 21:26:47 +0000] rev 0
Example of sleep modii of the LPC81x