SunSPOT API V6.0


com.sun.spot.peripheral
Interface ISpotPins

All Superinterfaces:
IResource

public interface ISpotPins
extends IResource

Interface to provide PIOPin objects representing pins assigned to various external functions on the Spot board. This allows the state of the physical pins to be read or written.

Author:
Syntropy

Method Summary
 PIOPin get5V_PowerEnablePin()
          The pin used to enable the 5V power on the rev 8 eDemoboard
 PIOPin getAttentionPin()
          The pin used by the power control PowerController to signal to the 9200
 PIOPin getCC2420_CCA_Pin()
          The Channel Clear pin of the CC2420
 PIOPin getCC2420_FIFO_Pin()
          The FIFO empty pin of the CC2420
 PIOPin getCC2420_FIFOP_Pin()
          The FIFO threshold reached pin of the CC2420
 PIOPin getCC2420_RESET_Pin()
          The reset pin of the CC2420
 PIOPin getCC2420_SFD_Pin()
          The Start of Frame Delimiter pin of the CC2420
 PIOPin getCC2420_VREG_EN_Pin()
          The voltage regulator enable pin of the CC2420
 PIOPin getLED_BlankPin()
          The pin used to control the LED_BLANK signal to the rev 8 eDemoboard
 PIOPin getLED_ModePin()
          The pin used to control the LED_MODE signal to the rev 8 eDemoboard
 PIOPin getLocalGreenLEDPin()
          Return the pin controlling the green LED on the Spot board.
 PIOPin getLocalRedLEDPin()
          Return the pin controlling the red LED on the Spot board.
 int getPinsNotAvailableToPIO(int pio)
          Return the pins not available to the given PIO because they are used for low-level functions (i.e. are not to be controlled by Java).
 PIOPin getSPI_CLK_Pin()
          Returns the SPI CLK (clock) pin.
 PIOPin getSPI_MISO_Pin()
          Returns the SPI MISO (master in/slave out) pin.
 PIOPin getSPI_MOSI_Pin()
          Returns the SPI MOSI (master out/slave in) pin.
 PIOPin getTC_TCLK(int tcNum)
          The clock input pin for a timer-counter
 PIOPin getTC_TIOA(int tcNum)
          The A pin for a timer-counter
 PIOPin getTC_TIOB(int tcNum)
          The B pin for a timer-counter
 PIOPin getUSB_EN()
          The pin used to select USB "suspend" mode in the LTC3455
 PIOPin getUSB_HP()
          The pin used to select USB high power mode of the LTC3455
 PIOPin getUSB_PWR_MON()
          The pin used to monitor power on the USB connector
 
Methods inherited from interface com.sun.spot.resources.IResource
addTag, getTags, getTagValue, hasTag, removeTag
 

Method Detail

getAttentionPin

PIOPin getAttentionPin()
The pin used by the power control PowerController to signal to the 9200

Returns:
the pin

getUSB_HP

PIOPin getUSB_HP()
The pin used to select USB high power mode of the LTC3455

Returns:
the pin

getUSB_EN

PIOPin getUSB_EN()
The pin used to select USB "suspend" mode in the LTC3455

Returns:
the pin

getUSB_PWR_MON

PIOPin getUSB_PWR_MON()
The pin used to monitor power on the USB connector

Returns:
the pin

getCC2420_CCA_Pin

PIOPin getCC2420_CCA_Pin()
The Channel Clear pin of the CC2420

Returns:
Returns the CC2420_CCA_Pin.

getCC2420_FIFO_Pin

PIOPin getCC2420_FIFO_Pin()
The FIFO empty pin of the CC2420

Returns:
Returns the CC2420_FIFO_Pin.

getCC2420_FIFOP_Pin

PIOPin getCC2420_FIFOP_Pin()
The FIFO threshold reached pin of the CC2420

Returns:
Returns the CC2420_FIFOP_Pin.

getCC2420_RESET_Pin

PIOPin getCC2420_RESET_Pin()
The reset pin of the CC2420

Returns:
Returns the CC2420_RESET_Pin.

getCC2420_SFD_Pin

PIOPin getCC2420_SFD_Pin()
The Start of Frame Delimiter pin of the CC2420

Returns:
Returns the CC2420_SFD_Pin.

getCC2420_VREG_EN_Pin

PIOPin getCC2420_VREG_EN_Pin()
The voltage regulator enable pin of the CC2420

Returns:
Returns the CC2420_VREG_EN_Pin.

getLocalGreenLEDPin

PIOPin getLocalGreenLEDPin()
Return the pin controlling the green LED on the Spot board.

Returns:
Returns the localGreenLEDPin.

getLocalRedLEDPin

PIOPin getLocalRedLEDPin()
Return the pin controlling the red LED on the Spot board.

Returns:
Returns the localRedLEDPin.

getPinsNotAvailableToPIO

int getPinsNotAvailableToPIO(int pio)
Return the pins not available to the given PIO because they are used for low-level functions (i.e. are not to be controlled by Java).

Parameters:
pio - the PIO whose unavailable pins are to be queried
Returns:
Returns the pins not available to pio.

getSPI_CLK_Pin

PIOPin getSPI_CLK_Pin()
Returns the SPI CLK (clock) pin.

Returns:
Returns the SPI_CLK_Pin.

getSPI_MISO_Pin

PIOPin getSPI_MISO_Pin()
Returns the SPI MISO (master in/slave out) pin.

Returns:
Returns the SPI_MISO_Pin.

getSPI_MOSI_Pin

PIOPin getSPI_MOSI_Pin()
Returns the SPI MOSI (master out/slave in) pin.

Returns:
Returns the SPI_MOSI_Pin.

getTC_TCLK

PIOPin getTC_TCLK(int tcNum)
The clock input pin for a timer-counter

Returns:
Returns the TC_TCLK.

getTC_TIOA

PIOPin getTC_TIOA(int tcNum)
The A pin for a timer-counter

Returns:
Returns the TC_TIOA.

getTC_TIOB

PIOPin getTC_TIOB(int tcNum)
The B pin for a timer-counter

Returns:
Returns the TC_TIOB.

getLED_BlankPin

PIOPin getLED_BlankPin()
The pin used to control the LED_BLANK signal to the rev 8 eDemoboard

Returns:
the pin

getLED_ModePin

PIOPin getLED_ModePin()
The pin used to control the LED_MODE signal to the rev 8 eDemoboard

Returns:
the pin

get5V_PowerEnablePin

PIOPin get5V_PowerEnablePin()
The pin used to enable the 5V power on the rev 8 eDemoboard

Returns:
the pin

SunSPOT API V6.0


Copyright © 2006-2010 Oracle. All Rights Reserved.