CQ出版 Interface 2014年10月号のC027(MAX7-Q)GPSテスト記事のプログラム。
CQ publishing Interface 2014.10 issue, C027 GPS(MAX-7Q) test program.
Dependencies:
C027
C027_Support
mbed
« Back to documentation index
C027 Class Reference
C027 Helper class to control the power supply and interface signals of the extended peripherials.
More...
#include <C027.h >
Public Member Functions
C027 ()
Constructor, this function initialized the control pins.
void mdmPower (bool enable)
Enable the power supply of the Modem (MDM)
void mdmUsbEnable (bool enable)
Activate the Usb Interface on LISA-C or LISA-U modems.
void mdmReset (void)
Reset the Modem.
void mdmWakeup (void)
Wakeup the Modem when in off mode.
void mdmSleep (void)
Some Modem can be commanded in sleep mode by setting the power pin low for a long period.
void gpsPower (bool enable)
Enable the GPS Power supply.
void gpsReset (void)
Reset the GPS.
Detailed Description
C027 Helper class to control the power supply and interface signals of the extended peripherials.
Definition at line 20 of file C027.h .
Constructor & Destructor Documentation
Constructor, this function initialized the control pins.
Definition at line 10 of file C027.cpp .
Member Function Documentation
void gpsPower
(
bool
enable )
Enable the GPS Power supply.
Parameters:
enable true if supply should be truned on, false if off.
Definition at line 133 of file C027.cpp .
Reset the GPS.
Attention: use with care and only a last resort.
Definition at line 161 of file C027.cpp .
void mdmPower
(
bool
enable )
Enable the power supply of the Modem (MDM)
Definition at line 30 of file C027.cpp .
Reset the Modem.
Attention: use with care and only a last resort.
Definition at line 91 of file C027.cpp .
Some Modem can be commanded in sleep mode by setting the power pin low for a long period.
Definition at line 119 of file C027.cpp .
void mdmUsbEnable
(
bool
enable )
Activate the Usb Interface on LISA-C or LISA-U modems.
For LISA-C this function must be called before its supply is enabled.
Parameters:
enable true if supply should be truned on, false if off
Definition at line 84 of file C027.cpp .
Wakeup the Modem when in off mode.
Definition at line 105 of file C027.cpp .