com.eurotech.framework.net.admin.modem.telit.he910
Interface IVectorJ21GpioService

All Known Implementing Classes:
VectorGpioControl

public interface IVectorJ21GpioService

Defines GPIO service interface for the Vector board

Author:
ilya.binshtok

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

SERVICE_NAME

static final String SERVICE_NAME
service name of this interface for the bundle activator


J21PIN_DIRECTION_IN

static final int J21PIN_DIRECTION_IN
See Also:
Constant Field Values

J21PIN_DIRECTION_OUT

static final int J21PIN_DIRECTION_OUT
See Also:
Constant Field Values

J21PIN_CELL_RESET

static final int J21PIN_CELL_RESET
See Also:
Constant Field Values

J21PIN_CELL_ON_OFF

static final int J21PIN_CELL_ON_OFF
See Also:
Constant Field Values

J21PIN_CELL_PWR_EN

static final int J21PIN_CELL_PWR_EN
See Also:
Constant Field Values

J21PIN_USB_RESET

static final int J21PIN_USB_RESET
See Also:
Constant Field Values

J21PIN_5V_ENABLE

static final int J21PIN_5V_ENABLE
See Also:
Constant Field Values

J21PIN_ZIGBEE_PWR_EN

static final int J21PIN_ZIGBEE_PWR_EN
See Also:
Constant Field Values

J21PIN_PWR_MON

static final int J21PIN_PWR_MON
See Also:
Constant Field Values

J21PIN_USB_SER_PWR_EN

static final int J21PIN_USB_SER_PWR_EN
See Also:
Constant Field Values

J21PIN_GPS_PWR_EN

static final int J21PIN_GPS_PWR_EN
See Also:
Constant Field Values

J21PIN_SLOT_PWR_EN

static final int J21PIN_SLOT_PWR_EN
See Also:
Constant Field Values

J21PIN_LAN_PWR_ON

static final int J21PIN_LAN_PWR_ON
See Also:
Constant Field Values

J21PIN_ADC_ON

static final int J21PIN_ADC_ON
See Also:
Constant Field Values
Method Detail

j21pinGetDirection

int j21pinGetDirection(int j21pin)
                       throws Exception
Reports direction of J21 pin.

Parameters:
j21pin - - J21 pin number as int
Returns:
J21 pin direction as int
Throws:
Exception

j21pinSetDirection

void j21pinSetDirection(int j21pin,
                        int direction)
                        throws Exception
Sets direction of J21 pin.

Parameters:
j21pin - - J21 pin number as int
direction - - J21 pin direction as int
Throws:
Exception

j21pinIsOn

boolean j21pinIsOn(int j21pin)
                   throws Exception
Reports a state of specified J21 pin.

Parameters:
j21pin - - J21 pin as int
Returns:
pin status as boolean
Throws:
Exception

j21pinGetStatus

String j21pinGetStatus(int j21pin)
                       throws Exception
Reports a status of specified J21 pin.

Parameters:
j21pin - - J21 pin as int
Returns:
state of specified J21 pin as String
Throws:
Exception

j21pinTurnOn

void j21pinTurnOn(int j21pin)
                  throws Exception
Turns specified J21 pin ON.

Parameters:
j21pin - - J21 pin to turn ON as int
Throws:
Exception

j21pinTurnOff

void j21pinTurnOff(int j21pin)
                   throws Exception
Turns specified J21 pin OFF.

Parameters:
j21pin - - J21 pin to turn OFF as int
Throws:
Exception

j21pinToggle

void j21pinToggle(int j21pin)
                  throws Exception
Parameters:
j21pin -
Throws:
Exception


Copyright © 2013. All Rights Reserved.