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.
Diff: api/SerialBase.h
- Revision:
- 212:34d62c0b2af6
- Parent:
- 64:7b352733b00a
- Child:
- 213:cc557cb04877
--- a/api/SerialBase.h Sun May 25 08:00:07 2014 +0100 +++ b/api/SerialBase.h Mon May 26 18:15:07 2014 +0100 @@ -106,11 +106,11 @@ /** Generate a break condition on the serial line */ void send_break(); - + #if DEVICE_SERIAL_FC /** Set the flow control type on the serial port * - * @param type the flow control type (Disabled, RTS, CTS, RTSCTS) + * @param type the flow control type (Disabled, RTS, CTS, RTSCTS) * @param flow1 the first flow control pin (RTS for RTS or RTSCTS, CTS for CTS) * @param flow2 the second flow control pin (CTS for RTSCTS) */ @@ -121,7 +121,8 @@ protected: SerialBase(PinName tx, PinName rx); - + virtual ~SerialBase(); + int _base_getc(); int _base_putc(int c);