mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Revision:
525:c320967f86b9
Parent:
13:0645d8841f51
Child:
547:88c982c8f758
--- a/api/Timer.h	Mon Apr 27 09:45:08 2015 +0100
+++ b/api/Timer.h	Tue Apr 28 11:45:12 2015 +0100
@@ -17,6 +17,7 @@
 #define MBED_TIMER_H
 
 #include "platform.h"
+#include "ticker_api.h"
 
 namespace mbed {
 
@@ -45,6 +46,7 @@
 
 public:
     Timer();
+    Timer(const ticker_data_t *const data);
 
     /** Start the timer
      */
@@ -81,6 +83,7 @@
     int _running;          // whether the timer is running
     unsigned int _start;   // the start time of the latest slice
     int _time;             // any accumulated time from previous slices
+    const ticker_data_t *const _ticker_data;
 };
 
 } // namespace mbed