Package com.pi4j.io.gpio
Interface Pin
-
- All Superinterfaces:
Comparable<Pin>
- All Known Implementing Classes:
PinImpl
public interface Pin extends Comparable<Pin>
This interface describes a pin.- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAddress()StringgetName()StringgetProvider()EnumSet<PinEdge>getSupportedPinEdges()EnumSet<PinMode>getSupportedPinModes()EnumSet<PinPullResistance>getSupportedPinPullResistance()booleansupportsPinEdges()booleansupportsPinEvents()booleansupportsPinPullResistance()-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getProvider
String getProvider()
-
getAddress
int getAddress()
-
getName
String getName()
-
supportsPinPullResistance
boolean supportsPinPullResistance()
-
getSupportedPinPullResistance
EnumSet<PinPullResistance> getSupportedPinPullResistance()
-
supportsPinEdges
boolean supportsPinEdges()
-
supportsPinEvents
boolean supportsPinEvents()
-
-