com.sentilla.platform.tmote
Class InterruptPinDriver
java.lang.Object
com.sentilla.system.DriverAdapter
com.sentilla.system.InterruptPinDriver
com.sentilla.platform.tmote.InterruptPinDriver
- All Implemented Interfaces:
- Driver
public class InterruptPinDriver
- extends InterruptPinDriver
Tmote extension of InterruptPinDriver.
InterruptPinDriver
public InterruptPinDriver()
newInterruptPin
public InterruptPin newInterruptPin(int id)
- Description copied from class:
InterruptPinDriver
- Create a new InterruptPin object with the specified pin id.
This method must be implemented by all InterruptPin drivers and is called as
a helper function by this platform independent (com.sentilla.system) InterruptPinDriver factory.
- Specified by:
newInterruptPin
in class InterruptPinDriver
- Parameters:
id
- Identity of the digital input/output pin
- Returns:
- DigitalPin object that represents the specific pin id specified
getDriverName
public String getDriverName(int n)
- Description copied from class:
DriverAdapter
- Returns the valid name(s) for
each driver. If a driver has N-names, then
getDriverName
returns a
string for n=0 to n=N-1, and returns null for all other values of n.
A driver may return multiple names because it provides the default
implementation for a specific name, such as associating "flash" by
default to the external flash, or "extflash" if an application
specifically asserts it requires the external flash resources. Some
drivers may return only a single valid name, such as "intflash" for
the internal flash.
- Specified by:
getDriverName
in interface Driver
- Specified by:
getDriverName
in class DriverAdapter
Copyright © 2007 Sentilla Corporation. All Rights Reserved.