C027 support

Fork of C027_Support by u-blox

Revision:
17:296d94a006b4
Child:
18:e5697801df29
diff -r 4a7ba1887e81 -r 296d94a006b4 MDM.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MDM.h	Fri Jan 31 09:49:51 2014 +0000
@@ -0,0 +1,14 @@
+#pragma once 
+
+#include "mbed.h"
+#include "C027_PinNames.h"
+
+class MDMSerial : public RawSerial
+{
+public: 
+    MDMSerial() : RawSerial(MDMTXD,MDMRXD)
+    {
+        baud(MDMBAUD);
+        set_flow_control(SerialBase::RTSCTS, MDMRTS, MDMCTS);
+    }
+};