123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef MBED_LOWPOWERTIMEOUT_H
- #define MBED_LOWPOWERTIMEOUT_H
- #include "platform/platform.h"
- #if defined (DEVICE_LPTICKER) || defined(DOXYGEN_ONLY)
- #include "hal/lp_ticker_api.h"
- #include "drivers/LowPowerTicker.h"
- #include "platform/NonCopyable.h"
- namespace mbed {
- class LowPowerTimeout : public LowPowerTicker, private NonCopyable<LowPowerTimeout> {
- private:
- virtual void handler(void)
- {
- _function.call();
- }
- };
- }
- #endif
- #endif
|