Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: MODSERIAL.h
- Revision:
- 25:ae0408ebdd68
- Parent:
- 24:9c456e647a8f
- Child:
- 26:91e4dba7ebe2
diff -r 9c456e647a8f -r ae0408ebdd68 MODSERIAL.h
--- a/MODSERIAL.h Thu Dec 06 13:06:10 2012 +0000
+++ b/MODSERIAL.h Tue Jan 08 18:01:03 2013 +0000
@@ -284,7 +284,7 @@
* @param tx PinName of the TX pin.
* @param rx PinName of the TX pin.
*/
- MODSERIAL(PinName tx, PinName rx);
+ MODSERIAL(PinName tx, PinName rx, const char* name = NULL);
/**
* The MODSERIAL constructor is used to initialise the serial object.
@@ -293,7 +293,7 @@
* @param rx PinName of the TX pin.
* @param bufferSize Integer of the TX and RX buffer sizes.
*/
- MODSERIAL(PinName tx, PinName rx, int bufferSize);
+ MODSERIAL(PinName tx, PinName rx, int bufferSize, const char* name = NULL);
/**
* The MODSERIAL constructor is used to initialise the serial object.
@@ -303,7 +303,7 @@
* @param txBufferSize Integer of the TX buffer sizes.
* @param rxBufferSize Integer of the RX buffer sizes.
*/
- MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize);
+ MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize, const char* name = NULL);
virtual ~MODSERIAL();