|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sentilla.system.DriverAdapter
com.sentilla.system.InterruptPinDriver
public abstract class InterruptPinDriver
Create new InterruptPin
system objects. "intpin" is used as the
default driver name.
Field Summary |
---|
Fields inherited from class com.sentilla.system.DriverAdapter |
---|
m_nextDriver |
Constructor Summary | |
---|---|
InterruptPinDriver()
|
Method Summary | |
---|---|
static InterruptPin |
create(int id)
Create an InterruptPin object representing a specific pin on a microcontrollers. |
static InterruptPin |
create(String driver,
int id)
Create an InterruptPin object representing a specific pin on a microcontrollers. |
abstract InterruptPin |
newInterruptPin(int id)
Create a new InterruptPin object with the specified pin id. |
Methods inherited from class com.sentilla.system.DriverAdapter |
---|
getDriverName, getNextDriver, setNextDriver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterruptPinDriver()
Method Detail |
---|
public abstract InterruptPin newInterruptPin(int id)
id
- Identity of the digital input/output pin
public static InterruptPin create(String driver, int id)
The id of the pin is typically specified in hex by port and then pin number. For example, Port 2, Pin 3, is represented as 0x23.
This factory method should only be used if an alternate InterruptPin platform
driver is needed and specified by the driver
String paramter.
driver
- String representing the driver used to create a InterruptPinid
- Identity of the digital input/output pin
IllegalArgumentException
- when the given id does not have interrupt capability on the target platformpublic static InterruptPin create(int id)
The id of the pin is typically specified in hex by port and then pin number. For example, Port 2, Pin 3, is represented as 0x23.
id
- Identity of the digital input/output pin
IllegalArgumentException
- when the given id does not have interrupt capability on the target platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |