The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: TimerEvent.h
- Revision:
- 55:d722ed6a4237
- Parent:
- 54:71b101360fb9
- Child:
- 59:0883845fe643
--- a/TimerEvent.h Tue Jan 08 12:46:36 2013 +0000 +++ b/TimerEvent.h Wed Jan 16 12:56:34 2013 +0000 @@ -31,11 +31,11 @@ class TimerEvent { public: TimerEvent(); - + /** The handler registered with the underlying timer interrupt */ static void irq(uint32_t id); - + /** Destruction removes it... */ virtual ~TimerEvent(); @@ -43,13 +43,13 @@ protected: // The handler called to service the timer event of the derived class virtual void handler() = 0; - + // insert in to linked list void insert(unsigned int timestamp); - + // remove from linked list, if in it void remove(); - + ticker_event_t event; };