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.
Dependents: M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more
io/MTSSerialFlowControl.h@0:563b70517320, 2013-12-09 (annotated)
- Committer:
- jengbrecht
- Date:
- Mon Dec 09 15:29:35 2013 +0000
- Revision:
- 0:563b70517320
- Child:
- 2:8d3ea0dfce39
Initial Commit Library!
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| jengbrecht | 0:563b70517320 | 1 | #ifndef MTSSERIALFLOWCONTROL_H |
| jengbrecht | 0:563b70517320 | 2 | #define MTSSERIALFLOWCONTROL_H |
| jengbrecht | 0:563b70517320 | 3 | |
| jengbrecht | 0:563b70517320 | 4 | #include "mbed.h" |
| jengbrecht | 0:563b70517320 | 5 | #include "MTSBufferedIO.h" |
| jengbrecht | 0:563b70517320 | 6 | /* |
| jengbrecht | 0:563b70517320 | 7 | class MTSSerialFlowControl : public MTSBufferedIO |
| jengbrecht | 0:563b70517320 | 8 | { |
| jengbrecht | 0:563b70517320 | 9 | public: |
| jengbrecht | 0:563b70517320 | 10 | MTSSerialFlowControl(PinName TXD, PinName RXD, PinName RTS, PinName CTS, int txBufSize, int rxBufSize); |
| jengbrecht | 0:563b70517320 | 11 | ~MTSSerialFlowControl(); |
| jengbrecht | 0:563b70517320 | 12 | |
| jengbrecht | 0:563b70517320 | 13 | private: |
| jengbrecht | 0:563b70517320 | 14 | DigitalIn* rts; |
| jengbrecht | 0:563b70517320 | 15 | DigitalOut* cts; |
| jengbrecht | 0:563b70517320 | 16 | void handleRead(); |
| jengbrecht | 0:563b70517320 | 17 | void handleWrite(); |
| jengbrecht | 0:563b70517320 | 18 | }; |
| jengbrecht | 0:563b70517320 | 19 | */ |
| jengbrecht | 0:563b70517320 | 20 | #endif /* MTSSERIALFLOWCONTROL */ |
uIP Socket Modem Shield (Outdated - see below)