mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: drivers/Timer.h
- Revision:
- 175:af195413fb11
- Parent:
- 174:b96e65c34a4d
--- a/drivers/Timer.h Mon Oct 02 15:33:19 2017 +0100 +++ b/drivers/Timer.h Wed Oct 11 12:45:49 2017 +0100 @@ -53,6 +53,7 @@ public: Timer(); Timer(const ticker_data_t *data); + ~Timer(); /** Start the timer */ @@ -100,6 +101,7 @@ us_timestamp_t _start; // the start time of the latest slice us_timestamp_t _time; // any accumulated time from previous slices const ticker_data_t *_ticker_data; + bool _lock_deepsleep; // flag which indicates if deep-sleep should be disabled }; } // namespace mbed