Fork to support REVB hardware.

Dependents:   C027_BootTest_revb C027_EthernetSniffTest C027_M3_SerialEcho C027_HelloWorld_revb ... more

Fork of C027 by u-blox

Revision:
14:e30f90b5447e
Parent:
13:fb30e9923a7b
Child:
17:cd02fb66a5fc
--- a/C027.h	Tue Nov 19 12:26:01 2013 +0000
+++ b/C027.h	Fri Dec 06 09:27:49 2013 +0000
@@ -13,7 +13,7 @@
 // We do not have fancy leds that can be flashed on the C027.
 void mbed_die(void);
 
-#define C027_REVA // remove this define for the revision B boards
+//#define C027_REVA // remove this define for the revision B boards
 
 class C027
 {
@@ -21,6 +21,7 @@
     C027();
 
     void mdmPower(bool enable);
+    void mdmUsbEnable(bool enable); // enable the USB interface
     void mdmReset(void);
     void mdmWakeup(void);
     void mdmSleep(void);
@@ -36,6 +37,7 @@
     DigitalOut      mdmILvlOe;
     DigitalOut      mdmUsbDet;
     bool            mdmIsEnabled;
+    bool            mdmUseUsb;
     // gps pins
     DigitalOut      gpsEn;
     DigitalOut      gpsRst;