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.
Dependents: demo_TimeoutAbs i2c_lora_slave
Diff: LowPowerTimeoutAbs.h
- Revision:
- 0:900163d530ae
diff -r 000000000000 -r 900163d530ae LowPowerTimeoutAbs.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/LowPowerTimeoutAbs.h Mon Nov 26 14:22:55 2018 -0800
@@ -0,0 +1,30 @@
+#ifndef MBED_LPABS_H
+#define MBED_LPABS_H
+
+#include "platform/platform.h"
+#include "TimeoutAbs.h"
+#include "platform/NonCopyable.h"
+
+#if defined (DEVICE_LPTICKER) || defined(DOXYGEN_ONLY)
+
+#include "hal/lp_ticker_api.h"
+
+namespace mbed {
+
+class LowPowerTimeoutAbs : public TimeoutAbs, private NonCopyable<LowPowerTimeoutAbs> {
+
+public:
+ LowPowerTimeoutAbs() : TimeoutAbs(get_lp_ticker_data())
+ {
+ }
+
+ virtual ~LowPowerTimeoutAbs ()
+ {
+ }
+};
+
+} // namespace mbed
+
+#endif
+#endif
+