Timeout driver for event at absolute time
Dependents: demo_TimeoutAbs i2c_lora_slave
LowPowerTimeoutAbs.h
00001 #ifndef MBED_LPABS_H 00002 #define MBED_LPABS_H 00003 00004 #include "platform/platform.h" 00005 #include "TimeoutAbs.h" 00006 #include "platform/NonCopyable.h" 00007 00008 #if defined (DEVICE_LPTICKER) || defined(DOXYGEN_ONLY) 00009 00010 #include "hal/lp_ticker_api.h" 00011 00012 namespace mbed { 00013 00014 class LowPowerTimeoutAbs : public TimeoutAbs, private NonCopyable<LowPowerTimeoutAbs> { 00015 00016 public: 00017 LowPowerTimeoutAbs() : TimeoutAbs(get_lp_ticker_data()) 00018 { 00019 } 00020 00021 virtual ~LowPowerTimeoutAbs () 00022 { 00023 } 00024 }; 00025 00026 } // namespace mbed 00027 00028 #endif 00029 #endif 00030
Generated on Thu Jul 14 2022 01:54:54 by
