Test of the Nucleo boards standby mode. sleep() and deepsleep() use the STM32 SLEEP and STOP modes. This uses the 3rd low power mode STANDBY. Utilises the WakeUp code here: https://developer.mbed.org/users/Sissors/code/WakeUp/ Adds a ClearWakeUp so that Standby can be entered repeatedly.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
1:085a87258f10 | 2016-05-07 | MichaelW | Code reduced to minimal working; Verified that ClearWakeUp is required. ; Standby uses lower power than deepsleep |
0:1ecaa40f74d0 | 2016-05-07 | MichaelW | Working Code |