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_STM32_others.cpp
- Revision:
- 26:df9d01556394
- Parent:
- 25:2bd9df8c3ac8
--- a/Device/WakeUp_STM32_others.cpp Thu Sep 21 21:53:16 2017 +0000 +++ b/Device/WakeUp_STM32_others.cpp Tue Oct 03 00:30:47 2017 +0000 @@ -9,17 +9,17 @@ #include "WakeUp.h" #include "rtc_api.h" -#define DEBUG +//#define DEBUG extern Serial pc; -#if 1 +#if 0 #define DBG(...) pc.printf(__VA_ARGS__) #else #define DBG(...) {;} #endif -#if 1 +#if 0 #define DBGP(...) pc.printf(__VA_ARGS__) #else #define DBGP(...) {;}