|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVectorJ21GpioService
Defines GPIO service interface for the Vector board
Field Summary | |
---|---|
static int |
J21PIN_5V_ENABLE
|
static int |
J21PIN_ADC_ON
|
static int |
J21PIN_CELL_ON_OFF
|
static int |
J21PIN_CELL_PWR_EN
|
static int |
J21PIN_CELL_RESET
|
static int |
J21PIN_DIRECTION_IN
|
static int |
J21PIN_DIRECTION_OUT
|
static int |
J21PIN_GPS_PWR_EN
|
static int |
J21PIN_LAN_PWR_ON
|
static int |
J21PIN_PWR_MON
|
static int |
J21PIN_SLOT_PWR_EN
|
static int |
J21PIN_USB_RESET
|
static int |
J21PIN_USB_SER_PWR_EN
|
static int |
J21PIN_ZIGBEE_PWR_EN
|
static String |
SERVICE_NAME
service name of this interface for the bundle activator |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final String SERVICE_NAME
static final int J21PIN_DIRECTION_IN
static final int J21PIN_DIRECTION_OUT
static final int J21PIN_CELL_RESET
static final int J21PIN_CELL_ON_OFF
static final int J21PIN_CELL_PWR_EN
static final int J21PIN_USB_RESET
static final int J21PIN_5V_ENABLE
static final int J21PIN_ZIGBEE_PWR_EN
static final int J21PIN_PWR_MON
static final int J21PIN_USB_SER_PWR_EN
static final int J21PIN_GPS_PWR_EN
static final int J21PIN_SLOT_PWR_EN
static final int J21PIN_LAN_PWR_ON
static final int J21PIN_ADC_ON
Method Detail |
---|
int j21pinGetDirection(int j21pin) throws Exception
j21pin
- - J21 pin number as int
int
Exception
void j21pinSetDirection(int j21pin, int direction) throws Exception
j21pin
- - J21 pin number as int
direction
- - J21 pin direction as int
Exception
boolean j21pinIsOn(int j21pin) throws Exception
j21pin
- - J21 pin as int
boolean
Exception
String j21pinGetStatus(int j21pin) throws Exception
j21pin
- - J21 pin as int
String
Exception
void j21pinTurnOn(int j21pin) throws Exception
j21pin
- - J21 pin to turn ON as int
Exception
void j21pinTurnOff(int j21pin) throws Exception
j21pin
- - J21 pin to turn OFF as int
Exception
void j21pinToggle(int j21pin) throws Exception
j21pin
-
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |