|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISpotPins
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.
Method Summary | |
---|---|
PIOPin |
getAttentionPin()
The pin used by the power control PowerController to signal to the 9200 |
PIOPin |
getBD_REV0()
The low-order bit of the hardware rev |
PIOPin |
getBD_REV1()
The mid-order bit of the hardware rev |
PIOPin |
getBD_REV2()
The high-order bit of the hardware rev |
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 |
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 |
Method Detail |
---|
PIOPin getAttentionPin()
PIOPin getUSB_HP()
PIOPin getUSB_EN()
PIOPin getUSB_PWR_MON()
PIOPin getCC2420_CCA_Pin()
PIOPin getCC2420_FIFO_Pin()
PIOPin getCC2420_FIFOP_Pin()
PIOPin getCC2420_RESET_Pin()
PIOPin getCC2420_SFD_Pin()
PIOPin getCC2420_VREG_EN_Pin()
PIOPin getLocalGreenLEDPin()
PIOPin getLocalRedLEDPin()
int getPinsNotAvailableToPIO(int pio)
pio
- the PIO whose unavailable pins are to be queried
PIOPin getSPI_CLK_Pin()
PIOPin getSPI_MISO_Pin()
PIOPin getSPI_MOSI_Pin()
PIOPin getTC_TCLK(int tcNum)
PIOPin getTC_TIOA(int tcNum)
PIOPin getTC_TIOB(int tcNum)
PIOPin getBD_REV0()
PIOPin getBD_REV1()
PIOPin getBD_REV2()
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |