Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mDot.h
- Revision:
- 136:d7d7093d4754
- Parent:
- 135:69d2d725ea1e
- Child:
- 141:c6247c5469ff
diff -r 69d2d725ea1e -r d7d7093d4754 mDot.h
--- a/mDot.h Fri Feb 16 14:27:32 2018 -0600
+++ b/mDot.h Fri Feb 16 16:00:18 2018 -0600
@@ -54,8 +54,6 @@
uint32_t RTC_ReadBackupRegister(uint32_t RTC_BKP_DR);
void RTC_WriteBackupRegister(uint32_t RTC_BKP_DR, uint32_t Data);
- void wakeup();
-
void enterStopMode(const uint32_t& interval, const uint8_t& wakeup_mode = RTC_ALARM);
void enterStandbyMode(const uint32_t& interval, const uint8_t& wakeup_mode = RTC_ALARM);
@@ -1693,6 +1691,7 @@
AUTO_SLEEP_EVT_CFG,
AUTO_SLEEP_EVT_TXDONE,
AUTO_SLEEP_EVT_RX1_TIMEOUT,
+ AUTO_SLEEP_EVT_CLEANUP
} AutoSleepEvent_t;
typedef enum {
@@ -1707,6 +1706,8 @@
void auto_sleep(AutoSleepEvent_t evt);
+ void wakeup(SleepClient_t sleep_client);
+
mdot_stats _stats;
FunctionPointer _wakeup_callback;