Constructor and Description |
---|
PinImpl(String provider,
int address,
String name,
EnumSet<PinMode> modes) |
PinImpl(String provider,
int address,
String name,
EnumSet<PinMode> modes,
EnumSet<PinPullResistance> pullResistance) |
PinImpl(String provider,
int address,
String name,
EnumSet<PinMode> modes,
EnumSet<PinPullResistance> pullResistance,
EnumSet<PinEdge> pinEdges) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Pin o) |
boolean |
equals(Object obj) |
int |
getAddress() |
String |
getName() |
String |
getProvider() |
EnumSet<PinEdge> |
getSupportedPinEdges() |
EnumSet<PinMode> |
getSupportedPinModes() |
EnumSet<PinPullResistance> |
getSupportedPinPullResistance() |
boolean |
supportsPinEdges() |
boolean |
supportsPinEvents() |
boolean |
supportsPinPullResistance() |
String |
toString() |
public PinImpl(String provider, int address, String name, EnumSet<PinMode> modes, EnumSet<PinPullResistance> pullResistance, EnumSet<PinEdge> pinEdges)
public PinImpl(String provider, int address, String name, EnumSet<PinMode> modes, EnumSet<PinPullResistance> pullResistance)
public int getAddress()
getAddress
in interface Pin
public String getProvider()
getProvider
in interface Pin
public EnumSet<PinMode> getSupportedPinModes()
getSupportedPinModes
in interface Pin
public EnumSet<PinPullResistance> getSupportedPinPullResistance()
getSupportedPinPullResistance
in interface Pin
public boolean supportsPinPullResistance()
supportsPinPullResistance
in interface Pin
public EnumSet<PinEdge> getSupportedPinEdges()
getSupportedPinEdges
in interface Pin
public boolean supportsPinEdges()
supportsPinEdges
in interface Pin
public boolean supportsPinEvents()
supportsPinEvents
in interface Pin
public int compareTo(Pin o)
compareTo
in interface Comparable<Pin>
Copyright © 2012–2019 Pi4J. All rights reserved.