Modified WakeUp program to run on STM32L152RE
Dependencies: mbed LPC1114_WakeInterruptIn
Fork of WakeUp by
Diff: WakeUp.h
- Revision:
- 2:648712aa15b4
- Parent:
- 1:92f4c2b52771
- Child:
- 8:8d9a6ac0fba8
--- a/WakeUp.h Thu Dec 05 21:32:11 2013 +0000 +++ b/WakeUp.h Sat Dec 07 11:21:15 2013 +0000 @@ -1,17 +1,14 @@ #include "mbed.h" /** -* Class to make use of the LPC81x's low power wake-up timer. +* Class to make use of the LPC81x's and KL25Zs low power wake-up timer. * * One of the methods of waking up from deepsleep/powerdown is using the wake-up timer. -* This is an ultra low-power timer that can run from an always-on 10kHz clock source. +* This is an ultra low-power timer that can run from an always-on clock source. * So while normal timers are shut-down, this one still runs, consuming only roughly 1uA. * If the timer does not need to run everything is shut down again by the library. * -* This class can also be used as general purpose interrupt timer, although just using -* the default Timer library is probably a better idea for that. -* -* Example program: http://mbed.org/users/Sissors/code/LPC812_Sleep_HelloWorld/ +* Example program for the LPC812: http://mbed.org/users/Sissors/code/LPC812_Sleep_HelloWorld/ */ class WakeUp {