123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef MBED_LOWPOWERTIMER_H
- #define MBED_LOWPOWERTIMER_H
- #include "platform/platform.h"
- #include "drivers/Timer.h"
- #include "platform/NonCopyable.h"
- #if defined (DEVICE_LPTICKER) || defined(DOXYGEN_ONLY)
- #include "hal/lp_ticker_api.h"
- namespace mbed {
- class LowPowerTimer : public Timer, private NonCopyable<LowPowerTimer> {
- public:
- LowPowerTimer() : Timer(get_lp_ticker_data())
- {
- }
- };
- }
- #endif
- #endif
|