SunSPOT API V3.0


com.sun.spot.sensorboard.hardware
Interface ISPIControlledIOChip

All Known Subinterfaces:
IADT7411
All Known Implementing Classes:
ADT7411, SimpleSPIControlledIOChip

public interface ISPIControlledIOChip

Interface for access to an SPI-controlled I/O chip.

Author:
jn151271 11-Mar-2005

Method Summary
 int claimedPins()
           
 void claimPin(int pinNumber)
           
 ISPI getSPI()
           
 

Method Detail

getSPI

ISPI getSPI()
Returns:
An ISPI interface to the chip.

claimPin

void claimPin(int pinNumber)
Parameters:
pinNumber - number of the pin to be claimed.

claimedPins

int claimedPins()
Returns:
the currently claimed pins

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.