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.
Fork of mbed by
Diff: TimerEvent.h
- Revision:
- 98:8ab26030e058
- Parent:
- 89:552587b429a1
- Child:
- 100:cbbeb26dbd92
--- a/TimerEvent.h Tue Apr 14 10:58:58 2015 +0200 +++ b/TimerEvent.h Wed Apr 29 10:16:23 2015 +0100 @@ -16,7 +16,7 @@ #ifndef MBED_TIMEREVENT_H #define MBED_TIMEREVENT_H -#include "us_ticker_api.h" +#include "ticker_api.h" namespace mbed { @@ -25,6 +25,7 @@ class TimerEvent { public: TimerEvent(); + TimerEvent(const ticker_data_t *data); /** The handler registered with the underlying timer interrupt */ @@ -45,6 +46,8 @@ void remove(); ticker_event_t event; + + const ticker_data_t *const _ticker_data; }; } // namespace mbed