Add a bunch of APNs
Fork of C027_Support by
MDM.h@17:296d94a006b4, 2014-01-31 (annotated)
- Committer:
- mazgch
- Date:
- Fri Jan 31 09:49:51 2014 +0000
- Revision:
- 17:296d94a006b4
- Child:
- 18:e5697801df29
update with flow apis
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mazgch | 17:296d94a006b4 | 1 | #pragma once |
mazgch | 17:296d94a006b4 | 2 | |
mazgch | 17:296d94a006b4 | 3 | #include "mbed.h" |
mazgch | 17:296d94a006b4 | 4 | #include "C027_PinNames.h" |
mazgch | 17:296d94a006b4 | 5 | |
mazgch | 17:296d94a006b4 | 6 | class MDMSerial : public RawSerial |
mazgch | 17:296d94a006b4 | 7 | { |
mazgch | 17:296d94a006b4 | 8 | public: |
mazgch | 17:296d94a006b4 | 9 | MDMSerial() : RawSerial(MDMTXD,MDMRXD) |
mazgch | 17:296d94a006b4 | 10 | { |
mazgch | 17:296d94a006b4 | 11 | baud(MDMBAUD); |
mazgch | 17:296d94a006b4 | 12 | set_flow_control(SerialBase::RTSCTS, MDMRTS, MDMCTS); |
mazgch | 17:296d94a006b4 | 13 | } |
mazgch | 17:296d94a006b4 | 14 | }; |