Board support library for C027

Dependents:   IoTWorkshopLCD IoTWorkshopBuzzer IoTWorkshopSensors C027_USSDTest ... more

Fork of C027 by u-blox

/media/uploads/ublox/c027_pinout_new.png

Revision:
14:e30f90b5447e
Parent:
13:fb30e9923a7b
Child:
16:3ce62caf4518
--- 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;