Package | Description |
---|---|
com.pi4j.io.gpio | |
com.pi4j.io.gpio.exception | |
com.pi4j.io.gpio.impl |
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 |
RaspiGpioProvider.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 |
---|---|
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 |
RaspiGpioProvider.export(Pin pin,
PinMode mode) |
void |
GpioProvider.export(Pin pin,
PinMode mode,
PinState defaultState) |
void |
GpioProviderBase.export(Pin pin,
PinMode mode,
PinState defaultState) |
void |
RaspiGpioProvider.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 |
RaspiGpioProvider.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 |
---|---|
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) |
Copyright © 2012–2019 Pi4J. All rights reserved.