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.
History
Code reduced to minimal working; Verified that ClearWakeUp is required. ; Standby uses lower power than deepsleep
2016-05-07, by MichaelW [Sat, 07 May 2016 12:23:15 +0000] rev 1
Code reduced to minimal working; Verified that ClearWakeUp is required. ; Standby uses lower power than deepsleep
Working Code
2016-05-07, by MichaelW [Sat, 07 May 2016 11:51:56 +0000] rev 0
Working Code