Added Restart(by RESET) function from Standby mode only for some Nucleo boards (STM32 series)
Dependencies: LPC1114_WakeInterruptIn
Fork of WakeUp by
Example program using "Standby function" for Nucleo series is here.
/users/kenjiArai/code/Check_StandBy/
Diff: Device/WakeUp_STM_RTC.cpp
- Revision:
- 23:69a0c843e4bd
- Parent:
- 20:68f2ee917691
- Child:
- 25:2bd9df8c3ac8
--- a/Device/WakeUp_STM_RTC.cpp Wed Nov 11 20:20:27 2015 +0000 +++ b/Device/WakeUp_STM_RTC.cpp Wed Jun 14 08:56:55 2017 +0000 @@ -26,7 +26,7 @@ //Disabling the Backup Powerdomain does not seem to work nicely anymore if you want to use other RTC functions afterwards. //For now I have disabled it in code, if you find WakeUp increases your powerconsumption, try enabling it again (code is still there, just commented) -FunctionPointer WakeUp::callback; +Callback<void()> WakeUp::callback; void WakeUp::set_ms(uint32_t ms) {