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:
64:e3affc9e7238
Parent:
59:0883845fe643
Child:
65:5798e58a58b1
--- a/Serial.h	Wed May 08 14:50:20 2013 +0100
+++ b/Serial.h	Mon Aug 05 12:28:09 2013 +0300
@@ -121,6 +121,10 @@
         }
     }
 
+    /** Generate a break condition on the serial line
+     */
+    void send_break();
+
     static void _irq_handler(uint32_t id, SerialIrq irq_type);
 
 protected:
@@ -129,6 +133,7 @@
 
     serial_t        _serial;
     FunctionPointer _irq[2];
+    int             _baud;
 };
 
 } // namespace mbed