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: C027_BootTest_revb C027_EthernetSniffTest C027_M3_SerialEcho C027_HelloWorld_revb ... more
Fork of C027 by
C027.h
- Committer:
- mazgch
- Date:
- 2013-10-21
- Revision:
- 6:e11bf54dd344
- Parent:
- 5:ff17f16cf70a
- Child:
- 7:e3eab86f1de9
File content as of revision 6:e11bf54dd344:
/* Platform header file, for the u-blox C27-C20/U20/G35
* mbed Internet of Things Starter Kit
* http://mbed.org/platforms/u-blox-C027/
*
*/
#pragma once
#include "mbed.h"
#include "C027_PinNames.h"
// Override the weak mbed die function that flashes the leds.
// We do not have fancy leds that can be flashed on the C027.
void mbed_die(void);
class C027
{
public:
C027();
void gpsPower(bool enable);
void mdmPower(bool enable);
void mdmReset(void);
void gpsReset(void);
private:
DigitalOut mdmEn;
DigitalOut mdmRst;
DigitalOut mdmPwrOn;
DigitalOut mdmRts;
bool mdmIsEnabled;
DigitalOut gpsEn;
DigitalOut gpsRst;
bool gpsIsEnabled;
};
