mbed-src updated for BMD-200 evaluation board. Just pin numbers are updated.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Replacement for the "mbed" or "mbed-src" library when using the BMD-200 Evaluation kit. This library only remaps the pin names (i.e. LED1 points to p0.01 instead of p0.18, etc) as used by the BMD-200 Evaluation board (select the nRF51822_mkit platform). All other code is untouched.
Diff: api/TimerEvent.h
- Revision:
- 529:c320967f86b9
- Parent:
- 304:89b9c3a9a045
- Child:
- 551:88c982c8f758
--- a/api/TimerEvent.h Mon Apr 27 09:45:08 2015 +0100 +++ b/api/TimerEvent.h Tue Apr 28 11:45:12 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