Package | Description |
---|---|
com.pi4j.io.gpio | |
com.pi4j.io.gpio.exception | |
com.pi4j.io.gpio.impl |
Modifier and Type | Field and Description |
---|---|
protected static PinMode[] |
WiringPiGpioProviderBase.pinModeCache |
Modifier and Type | Method and Description |
---|---|
PinMode |
GpioProviderPinCache.getMode() |
PinMode |
GpioPinShutdown.getMode() |
PinMode |
GpioPin.getMode() |
PinMode |
GpioController.getMode(GpioPin pin) |
PinMode |
GpioProvider.getMode(Pin pin) |
PinMode |
GpioProviderBase.getMode(Pin pin) |
PinMode |
WiringPiGpioProviderBase.getMode(Pin pin) |
static PinMode |
PinMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PinMode[] |
PinMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<PinMode> |
PinMode.all() |
static EnumSet<PinMode> |
PinMode.allAnalog() |
static EnumSet<PinMode> |
PinMode.allDigital() |
static EnumSet<PinMode> |
PinMode.allInputs() |
static EnumSet<PinMode> |
PinMode.allOutput() |
EnumSet<PinMode> |
Pin.getSupportedPinModes() |
Modifier and Type | Method and Description |
---|---|
static Pin[] |
OdroidC1Pin.allPins(PinMode... mode) |
static Pin[] |
OrangePiPin.allPins(PinMode... mode) |
static Pin[] |
BananaProPin.allPins(PinMode... mode) |
static Pin[] |
BananaPiPin.allPins(PinMode... mode) |
static Pin[] |
PinProvider.allPins(PinMode... mode)
Get all pin instances from this provider that support one of the provided pin modes.
|
static Pin[] |
RaspiPin.allPins(PinMode... mode) |
static Pin[] |
NanoPiPin.allPins(PinMode... mode) |
static Pin[] |
BpiPin.allPins(PinMode... mode) |
void |
GpioPin.export(PinMode mode) |
void |
GpioController.export(PinMode mode,
GpioPin... pin) |
void |
GpioPin.export(PinMode mode,
PinState defaultState) |
void |
GpioController.export(PinMode mode,
PinState defaultState,
GpioPin... pin) |
void |
GpioProvider.export(Pin pin,
PinMode mode) |
void |
GpioProviderBase.export(Pin pin,
PinMode mode) |
void |
WiringPiGpioProviderBase.export(Pin pin,
PinMode mode) |
void |
GpioProvider.export(Pin pin,
PinMode mode,
PinState defaultState) |
void |
GpioProviderBase.export(Pin pin,
PinMode mode,
PinState defaultState) |
void |
OdroidGpioProvider.export(Pin pin,
PinMode mode,
PinState defaultState) |
void |
WiringPiGpioProviderBase.export(Pin pin,
PinMode mode,
PinState defaultState) |
boolean |
GpioPin.isMode(PinMode mode) |
boolean |
GpioController.isMode(PinMode mode,
GpioPin... pin) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(GpioProvider provider,
Pin pin,
PinMode mode) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(GpioProvider provider,
Pin pin,
PinMode mode,
PinPullResistance resistance) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(GpioProvider provider,
Pin pin,
String name,
PinMode mode) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(GpioProvider provider,
Pin pin,
String name,
PinMode mode,
PinPullResistance resistance) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(Pin pin,
PinMode mode) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(Pin pin,
PinMode mode,
PinPullResistance resistance) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(Pin pin,
String name,
PinMode mode) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(Pin pin,
String name,
PinMode mode,
PinPullResistance resistance) |
GpioPin |
GpioController.provisionPin(GpioProvider provider,
Pin pin,
PinMode mode) |
GpioPin |
GpioController.provisionPin(GpioProvider provider,
Pin pin,
String name,
PinMode mode) |
GpioPin |
GpioController.provisionPin(GpioProvider provider,
Pin pin,
String name,
PinMode mode,
PinState defaultState) |
GpioPin |
GpioController.provisionPin(Pin pin,
PinMode mode) |
GpioPin |
GpioController.provisionPin(Pin pin,
String name,
PinMode mode) |
void |
GpioProviderPinCache.setMode(PinMode mode) |
void |
GpioPinShutdown.setMode(PinMode mode) |
void |
GpioPin.setMode(PinMode mode) |
void |
GpioController.setMode(PinMode mode,
GpioPin... pin) |
void |
GpioProvider.setMode(Pin pin,
PinMode mode) |
void |
GpioProviderBase.setMode(Pin pin,
PinMode mode) |
void |
OdroidGpioProvider.setMode(Pin pin,
PinMode mode) |
void |
WiringPiGpioProviderBase.setMode(Pin pin,
PinMode mode) |
void |
GpioPin.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance,
PinMode mode) |
void |
GpioController.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance,
PinMode mode,
GpioPin... pin) |
Modifier and Type | Method and Description |
---|---|
protected static Pin |
PinProvider.createPin(String providerName,
int address,
String name,
EnumSet<PinMode> modes) |
protected static Pin |
PinProvider.createPin(String providerName,
int address,
String name,
EnumSet<PinMode> modes,
EnumSet<PinPullResistance> resistance,
EnumSet<PinEdge> edges) |
Modifier and Type | Method and Description |
---|---|
PinMode |
UnsupportedPinModeException.getMode() |
Constructor and Description |
---|
UnsupportedPinModeException(Pin pin,
PinMode mode) |
Modifier and Type | Method and Description |
---|---|
PinMode |
GpioPinImpl.getMode() |
PinMode |
GpioPinShutdownImpl.getMode() |
PinMode |
GpioControllerImpl.getMode(GpioPin pin) |
Modifier and Type | Method and Description |
---|---|
EnumSet<PinMode> |
PinImpl.getSupportedPinModes() |
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) |
Copyright © 2012–2019 Pi4J. All rights reserved.