USBUART - IRQ
Dependents: MPU9250AHRS_UBSUART-IRQ
Fork of MODSERIAL by
Diff: MODSERIAL.h
- Revision:
- 24:9c456e647a8f
- Parent:
- 21:af2af4c61c2f
- Child:
- 25:ae0408ebdd68
diff -r 5c45c21f36b7 -r 9c456e647a8f MODSERIAL.h --- a/MODSERIAL.h Wed Jul 25 22:27:49 2012 +0000 +++ b/MODSERIAL.h Thu Dec 06 13:06:10 2012 +0000 @@ -42,6 +42,7 @@ #endif #include "mbed.h" +#include "serial_api.h" namespace AjK { @@ -282,9 +283,8 @@ * * @param tx PinName of the TX pin. * @param rx PinName of the TX pin. - * @param name An option name for RPC usage. */ - MODSERIAL(PinName tx, PinName rx, const char *name = NULL); + MODSERIAL(PinName tx, PinName rx); /** * The MODSERIAL constructor is used to initialise the serial object. @@ -292,9 +292,8 @@ * @param tx PinName of the TX pin. * @param rx PinName of the TX pin. * @param bufferSize Integer of the TX and RX buffer sizes. - * @param name An option name for RPC usage. */ - MODSERIAL(PinName tx, PinName rx, int bufferSize, const char *name = NULL); + MODSERIAL(PinName tx, PinName rx, int bufferSize); /** * The MODSERIAL constructor is used to initialise the serial object. @@ -303,9 +302,8 @@ * @param rx PinName of the TX pin. * @param txBufferSize Integer of the TX buffer sizes. * @param rxBufferSize Integer of the RX buffer sizes. - * @param name An option name for RPC usage. */ - MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize, const char *name = NULL); + MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize); virtual ~MODSERIAL(); @@ -934,7 +932,7 @@ * Initialize the MODSERIAL object * @ingroup INTERNALS */ - void init(int txSize, int rxSize); + void init(int txSize, int rxSize, PinName rx); /** * Function: flushBuffer