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.
Fork of VodafoneUSBModem by
Diff: VodafoneUSBModem.h
- Revision:
- 33:f505faeda8e7
- Parent:
- 27:37d3ac289e86
- Child:
- 41:8bec5a8ea878
--- a/VodafoneUSBModem.h Thu Sep 13 13:52:42 2012 +0000
+++ b/VodafoneUSBModem.h Fri Sep 14 10:13:48 2012 +0000
@@ -37,8 +37,9 @@
public:
/** Create Vodafone USB Modem (K3770/K3772-Z) dongle API instance
@param powerGatingPin Optional pin commanding a power gating transistor on the modem's power line
+ @param powerGatingOnWhenPinHigh true if the pin needs to be high to power the dongle, defaults to true
*/
- VodafoneUSBModem(PinName powerGatingPin = NC);
+ VodafoneUSBModem(PinName powerGatingPin = NC, bool powerGatingOnWhenPinHigh = true);
//Internet-related functions
@@ -131,6 +132,7 @@
bool m_atOpen;
PinName m_powerGatingPin;
+ bool m_powerGatingOnWhenPinHigh;
};
