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:
170:e95d10626187
Parent:
168:b9e159c1930a
Child:
172:65be27845400
--- a/platform/mbed_wait_api.h	Fri Jun 22 15:38:59 2018 +0100
+++ b/platform/mbed_wait_api.h	Thu Sep 06 13:39:34 2018 +0100
@@ -5,7 +5,7 @@
  * \defgroup platform_wait_api wait_api functions
  * @{
  */
- 
+
 /* mbed Microcontroller Library
  * Copyright (c) 2006-2013 ARM Limited
  *
@@ -53,10 +53,10 @@
  *  the accuracy of single precision floating point).
  *
  *  @param s number of seconds to wait
- * 
+ *
  *  @note
- *    If the RTOS is present, this function always spins to get the exact number of microseconds, 
- *    which potentially affects power (such as preventing deep sleep) and multithread performance. 
+ *    If the RTOS is present, this function always spins to get the exact number of microseconds,
+ *    which potentially affects power (such as preventing deep sleep) and multithread performance.
  *    You can avoid it by using Thread::wait().
  */
 void wait(float s);
@@ -64,10 +64,10 @@
 /** Waits a number of milliseconds.
  *
  *  @param ms the whole number of milliseconds to wait
- * 
+ *
  *  @note
- *    If the RTOS is present, this function always spins to get the exact number of microseconds, 
- *    which potentially affects power (such as preventing deep sleep) and multithread performance. 
+ *    If the RTOS is present, this function always spins to get the exact number of microseconds,
+ *    which potentially affects power (such as preventing deep sleep) and multithread performance.
  *    You can avoid it by using Thread::wait().
  */
 void wait_ms(int ms);
@@ -75,9 +75,9 @@
 /** Waits a number of microseconds.
  *
  *  @param us the whole number of microseconds to wait
- * 
+ *
  *  @note
- *    If the RTOS is present, this function always spins to get the exact number of microseconds, 
+ *    If the RTOS is present, this function always spins to get the exact number of microseconds,
  *    which potentially affects power (such as preventing deep sleep) and multithread performance.
  */
 void wait_us(int us);