Board support library for C027

Dependents:   IoTWorkshopLCD IoTWorkshopBuzzer IoTWorkshopSensors C027_USSDTest ... more

Fork of C027 by u-blox

Embed: (wiki syntax)

« Back to documentation index

C027 Class Reference

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

C027 (  )

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:
enabletrue if supply should be truned on, false if off.

Definition at line 133 of file C027.cpp.

void gpsReset ( void   )

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.

void mdmReset ( void   )

Reset the Modem.

Attention:
use with care and only a last resort.

Definition at line 91 of file C027.cpp.

void mdmSleep ( void   )

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:
enabletrue if supply should be truned on, false if off

Definition at line 84 of file C027.cpp.

void mdmWakeup ( void   )

Wakeup the Modem when in off mode.

Definition at line 105 of file C027.cpp.