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.

Revision:
147:a97add6d7e64
Parent:
146:22da6e220af6
Child:
148:fd96258d940d
--- a/drivers/SPI.h	Thu Jul 06 15:30:22 2017 +0100
+++ b/drivers/SPI.h	Wed Jul 19 16:46:19 2017 +0100
@@ -271,6 +271,12 @@
     int _bits;
     int _mode;
     int _hz;
+
+private:
+    /* Private acquire function without locking/unlocking
+     * Implemented in order to avoid duplicate locking and boost performance
+     */
+    void _acquire(void);
 };
 
 } // namespace mbed