Package | Description |
---|---|
com.pi4j.io.gpio | |
com.pi4j.io.gpio.event | |
com.pi4j.io.gpio.impl | |
com.pi4j.io.gpio.tasks.impl | |
com.pi4j.io.gpio.trigger |
Modifier and Type | Method and Description |
---|---|
static PinState[] |
PinState.allStates() |
static PinState |
PinState.getInverseState(PinState state) |
PinState |
GpioProviderPinCache.getState() |
PinState |
GpioPinDigital.getState() |
PinState |
GpioPinShutdown.getState() |
static PinState |
PinState.getState(boolean state) |
PinState |
GpioController.getState(GpioPinDigital pin) |
static PinState |
PinState.getState(int state) |
PinState |
GpioProvider.getState(Pin pin) |
PinState |
GpioProviderBase.getState(Pin pin) |
PinState |
WiringPiGpioProviderBase.getState(Pin pin) |
static PinState |
PinState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PinState[] |
PinState.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<PinState> |
PinState.all() |
Modifier and Type | Method and Description |
---|---|
Future<?> |
GpioPinDigitalOutput.blink(long delay,
long duration,
PinState blinkState) |
Future<?> |
GpioPinDigitalOutput.blink(long delay,
long duration,
PinState blinkState,
TimeUnit timeUnit) |
Future<?> |
GpioPinDigitalOutput.blink(long delay,
PinState blinkState) |
Future<?> |
GpioPinDigitalOutput.blink(long delay,
PinState blinkState,
TimeUnit timeUnit) |
protected void |
GpioProviderBase.dispatchPinDigitalStateChangeEvent(Pin pin,
PinState state) |
void |
GpioPin.export(PinMode mode,
PinState defaultState) |
void |
GpioController.export(PinMode mode,
PinState defaultState,
GpioPin... pin) |
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) |
int |
GpioPinDigitalInput.getDebounce(PinState state)
Gets the configured debounce delay interval (in milliseconds) for the given pin state.
|
static PinState |
PinState.getInverseState(PinState state) |
boolean |
GpioPinDigitalInput.hasDebounce(PinState state)
Determines if a debounce delay interval has been configured for the given pin state.
|
boolean |
GpioPinDigital.isState(PinState state) |
boolean |
GpioController.isState(PinState state,
GpioPinDigital... pin) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(GpioProvider provider,
Pin pin,
PinState defaultState) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(GpioProvider provider,
Pin pin,
String name,
PinState defaultState) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(Pin pin,
PinState defaultState) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(Pin pin,
String name,
PinState defaultState) |
GpioPin |
GpioController.provisionPin(GpioProvider provider,
Pin pin,
String name,
PinMode mode,
PinState defaultState) |
Future<?> |
GpioPinDigitalOutput.pulse(long duration,
PinState pulseState) |
Future<?> |
GpioPinDigitalOutput.pulse(long duration,
PinState pulseState,
boolean blocking) |
Future<?> |
GpioPinDigitalOutput.pulse(long duration,
PinState pulseState,
boolean blocking,
Callable<Void> callback) |
Future<?> |
GpioPinDigitalOutput.pulse(long duration,
PinState pulseState,
boolean blocking,
Callable<Void> callback,
TimeUnit timeUnit) |
Future<?> |
GpioPinDigitalOutput.pulse(long duration,
PinState pulseState,
boolean blocking,
TimeUnit timeUnit) |
Future<?> |
GpioPinDigitalOutput.pulse(long duration,
PinState pulseState,
Callable<Void> callback) |
Future<?> |
GpioPinDigitalOutput.pulse(long duration,
PinState pulseState,
Callable<Void> callback,
TimeUnit timeUnit) |
Future<?> |
GpioPinDigitalOutput.pulse(long duration,
PinState pulseState,
TimeUnit timeUnit) |
void |
GpioPinDigitalInput.setDebounce(int debounce,
PinState... state)
Sets the debounce delay interval (in milliseconds) for the specified pin state.
|
void |
GpioPin.setShutdownOptions(Boolean unexport,
PinState state) |
void |
GpioController.setShutdownOptions(Boolean unexport,
PinState state,
GpioPin... pin) |
void |
GpioPin.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance) |
void |
GpioController.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance,
GpioPin... pin) |
void |
GpioPin.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance,
PinMode mode) |
void |
GpioController.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance,
PinMode mode,
GpioPin... pin) |
void |
SimulatedGpioProvider.setState(Pin pin,
PinState state) |
void |
GpioProvider.setState(Pin pin,
PinState state) |
void |
GpioProviderBase.setState(Pin pin,
PinState state) |
void |
WiringPiGpioProviderBase.setState(Pin pin,
PinState state) |
void |
GpioProviderPinCache.setState(PinState state) |
void |
GpioPinDigitalOutput.setState(PinState state) |
void |
GpioPinShutdown.setState(PinState state) |
void |
GpioController.setState(PinState state,
GpioPinDigitalOutput... pin) |
Modifier and Type | Field and Description |
---|---|
protected PinState |
IFTTTMakerChannelTriggerEvent.state |
Modifier and Type | Method and Description |
---|---|
PinState |
PinDigitalStateChangeEvent.getState()
Get the new pin state raised in this event.
|
PinState |
GpioPinDigitalStateChangeEvent.getState()
Get the new pin state raised in this event.
|
PinState |
IFTTTMakerChannelTriggerEvent.getState()
Get the pin state that activated this trigger.
|
Constructor and Description |
---|
GpioPinDigitalStateChangeEvent(Object obj,
GpioPin pin,
PinState state)
Default event constructor
|
IFTTTMakerChannelTriggerEvent(Object obj,
GpioPin pin,
PinState state,
String eventName,
String value1,
String value2,
String value3) |
PinDigitalStateChangeEvent(Object obj,
Pin pin,
PinState state)
Default event constructor
|
Modifier and Type | Method and Description |
---|---|
PinState |
GpioPinImpl.getState() |
PinState |
GpioPinShutdownImpl.getState() |
PinState |
GpioControllerImpl.getState(GpioPinDigital pin) |
Modifier and Type | Method and Description |
---|---|
static Future<?> |
GpioScheduledExecutorImpl.blink(GpioPinDigitalOutput pin,
long delay,
long duration,
PinState blinkState,
TimeUnit timeUnit) |
Future<?> |
GpioPinImpl.blink(long delay,
long duration,
PinState blinkState) |
Future<?> |
GpioPinImpl.blink(long delay,
long duration,
PinState blinkState,
TimeUnit timeUnit) |
Future<?> |
GpioPinImpl.blink(long delay,
PinState blinkState) |
Future<?> |
GpioPinImpl.blink(long delay,
PinState blinkState,
TimeUnit timeUnit) |
void |
GpioPinImpl.export(PinMode mode,
PinState defaultState) |
void |
GpioControllerImpl.export(PinMode mode,
PinState defaultState,
GpioPin... pin) |
int |
GpioPinImpl.getDebounce(PinState state) |
boolean |
GpioPinImpl.hasDebounce(PinState state) |
boolean |
GpioPinImpl.isState(PinState state) |
boolean |
GpioControllerImpl.isState(PinState state,
GpioPinDigital... pin) |
GpioPinDigitalOutput |
GpioControllerImpl.provisionDigitalOutputPin(GpioProvider provider,
Pin pin,
PinState defaultState) |
GpioPinDigitalOutput |
GpioControllerImpl.provisionDigitalOutputPin(GpioProvider provider,
Pin pin,
String name,
PinState defaultState) |
GpioPinDigitalOutput |
GpioControllerImpl.provisionDigitalOutputPin(Pin pin,
PinState defaultState) |
GpioPinDigitalOutput |
GpioControllerImpl.provisionDigitalOutputPin(Pin pin,
String name,
PinState defaultState) |
GpioPin |
GpioControllerImpl.provisionPin(GpioProvider provider,
Pin pin,
String name,
PinMode mode,
PinState defaultState) |
static Future<?> |
GpioScheduledExecutorImpl.pulse(GpioPinDigitalOutput pin,
long duration,
PinState pulseState,
Callable<?> callback,
TimeUnit timeUnit) |
static Future<?> |
GpioScheduledExecutorImpl.pulse(GpioPinDigitalOutput pin,
long duration,
PinState pulseState,
TimeUnit unit) |
Future<?> |
GpioPinImpl.pulse(long duration,
PinState pulseState) |
Future<?> |
GpioPinImpl.pulse(long duration,
PinState pulseState,
boolean blocking) |
Future<?> |
GpioPinImpl.pulse(long duration,
PinState pulseState,
boolean blocking,
Callable<Void> callback) |
Future<?> |
GpioPinImpl.pulse(long duration,
PinState pulseState,
boolean blocking,
Callable<Void> callback,
TimeUnit timeUnit) |
Future<?> |
GpioPinImpl.pulse(long duration,
PinState pulseState,
boolean blocking,
TimeUnit timeUnit) |
Future<?> |
GpioPinImpl.pulse(long duration,
PinState pulseState,
Callable<Void> callback) |
Future<?> |
GpioPinImpl.pulse(long duration,
PinState pulseState,
Callable<Void> callback,
TimeUnit timeUnit) |
Future<?> |
GpioPinImpl.pulse(long duration,
PinState pulseState,
TimeUnit timeUnit) |
void |
GpioPinImpl.setDebounce(int debounce,
PinState... state) |
void |
GpioPinImpl.setShutdownOptions(Boolean unexport,
PinState state) |
void |
GpioControllerImpl.setShutdownOptions(Boolean unexport,
PinState state,
GpioPin... pin) |
void |
GpioPinImpl.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance) |
void |
GpioControllerImpl.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance,
GpioPin... pin) |
void |
GpioPinImpl.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance,
PinMode mode) |
void |
GpioControllerImpl.setShutdownOptions(Boolean unexport,
PinState state,
PinPullResistance resistance,
PinMode mode,
GpioPin... pin) |
void |
GpioPinImpl.setState(PinState state) |
void |
GpioPinShutdownImpl.setState(PinState state) |
void |
GpioControllerImpl.setState(PinState state,
GpioPinDigitalOutput... pin) |
Constructor and Description |
---|
GpioBlinkStopTaskImpl(GpioPinDigitalOutput pin,
PinState stopState,
ScheduledFuture<?> blinkTask) |
GpioEventDebounceTaskImpl(GpioPinDigitalInput pin,
PinState state) |
GpioPulseTaskImpl(GpioPinDigitalOutput pin,
PinState inactiveState) |
GpioPulseTaskImpl(GpioPinDigitalOutput pin,
PinState inactiveState,
Callable<?> callback) |
Modifier and Type | Method and Description |
---|---|
PinState |
GpioSetStateTrigger.getTargetPinState() |
Modifier and Type | Method and Description |
---|---|
void |
GpioTriggerBase.addPinState(PinState... state) |
void |
GpioTrigger.addPinState(PinState... state) |
boolean |
GpioTriggerBase.hasPinState(PinState state) |
boolean |
GpioTrigger.hasPinState(PinState state) |
void |
GpioPulseStateTrigger.invoke(GpioPin pin,
PinState state) |
void |
GpioCallbackTrigger.invoke(GpioPin pin,
PinState state) |
abstract void |
GpioTriggerBase.invoke(GpioPin pin,
PinState state) |
void |
GpioSyncStateTrigger.invoke(GpioPin pin,
PinState state) |
void |
GpioBlinkStopStateTrigger.invoke(GpioPin pin,
PinState state) |
void |
GpioSetStateTrigger.invoke(GpioPin pin,
PinState state) |
void |
GpioTrigger.invoke(GpioPin pin,
PinState state) |
void |
GpioToggleStateTrigger.invoke(GpioPin pin,
PinState state) |
void |
GpioInverseSyncStateTrigger.invoke(GpioPin pin,
PinState state) |
void |
IFTTTMakerChannelTrigger.invoke(GpioPin pin,
PinState state) |
void |
GpioBlinkStateTrigger.invoke(GpioPin pin,
PinState state) |
Modifier and Type | Method and Description |
---|---|
void |
GpioTriggerBase.addPinState(List<? extends PinState> states) |
void |
GpioTrigger.addPinState(List<? extends PinState> states) |
Copyright © 2012–2019 Pi4J. All rights reserved.