|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.net.admin.modem.telit.de910.VectorGpioControl
public class VectorGpioControl
Defines GPIO control for Vector board
Field Summary |
---|
Fields inherited from interface com.eurotech.framework.net.admin.modem.telit.de910.IVectorJ21GpioService |
---|
J21PIN_5V_ENABLE, J21PIN_ADC_ON, J21PIN_CELL_ON_OFF, J21PIN_CELL_PWR_EN, J21PIN_CELL_RESET, J21PIN_DIRECTION_IN, J21PIN_DIRECTION_OUT, J21PIN_GPS_PWR_EN, J21PIN_LAN_PWR_ON, J21PIN_PWR_MON, J21PIN_SLOT_PWR_EN, J21PIN_USB_RESET, J21PIN_USB_SER_PWR_EN, J21PIN_ZIGBEE_PWR_EN, SERVICE_NAME |
Method Summary | |
---|---|
static VectorGpioControl |
getInstance()
|
int |
j21pinGetDirection(int j21pin)
Reports direction of J21 pin. |
String |
j21pinGetStatus(int j21pin)
Reports a status of specified J21 pin. |
boolean |
j21pinIsOn(int j21pin)
Reports a state of specified J21 pin. |
void |
j21pinSetDirection(int j21pin,
int direction)
Sets direction of J21 pin. |
void |
j21pinToggle(int j21pin)
|
void |
j21pinTurnOff(int j21pin)
Turns specified J21 pin OFF. |
void |
j21pinTurnOn(int j21pin)
Turns specified J21 pin ON. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static VectorGpioControl getInstance()
public int j21pinGetDirection(int j21pin) throws Exception
IVectorJ21GpioService
j21pinGetDirection
in interface IVectorJ21GpioService
j21pin
- - J21 pin number as int
int
Exception
public void j21pinSetDirection(int j21pin, int direction) throws Exception
IVectorJ21GpioService
j21pinSetDirection
in interface IVectorJ21GpioService
j21pin
- - J21 pin number as int
direction
- - J21 pin direction as int
Exception
public boolean j21pinIsOn(int j21pin) throws Exception
IVectorJ21GpioService
j21pinIsOn
in interface IVectorJ21GpioService
j21pin
- - J21 pin as int
boolean
Exception
public String j21pinGetStatus(int j21pin) throws Exception
IVectorJ21GpioService
j21pinGetStatus
in interface IVectorJ21GpioService
j21pin
- - J21 pin as int
String
Exception
public void j21pinTurnOn(int j21pin) throws Exception
IVectorJ21GpioService
j21pinTurnOn
in interface IVectorJ21GpioService
j21pin
- - J21 pin to turn ON as int
Exception
public void j21pinTurnOff(int j21pin) throws Exception
IVectorJ21GpioService
j21pinTurnOff
in interface IVectorJ21GpioService
j21pin
- - J21 pin to turn OFF as int
Exception
public void j21pinToggle(int j21pin) throws Exception
j21pinToggle
in interface IVectorJ21GpioService
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |