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 mbed official

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.

Revision:
15:4892fe388435
Parent:
13:0645d8841f51
Child:
212:34d62c0b2af6
diff -r 096882eb0961 -r 4892fe388435 api/FunctionPointer.h
--- a/api/FunctionPointer.h	Mon Aug 05 14:54:27 2013 +0000
+++ b/api/FunctionPointer.h	Wed Aug 07 16:43:59 2013 +0300
@@ -20,6 +20,8 @@
 
 namespace mbed {
 
+typedef void (*pvoidf_t)(void);
+
 /** A class for storing and calling a pointer to a static or member void function
  */
 class FunctionPointer {
@@ -64,6 +66,14 @@
      */
     void call();
 
+    pvoidf_t get_function() const {
+        return (pvoidf_t)_function;
+    }
+
+#ifdef MBED_OPERATORS
+    void operator ()(void);
+#endif
+
 private:
     template<typename T>
     static void membercaller(void *object, char *member) {