Uses of Class
com.pi4j.io.gpio.PinState
-
Packages that use PinState 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 -
-
Uses of PinState in com.pi4j.io.gpio
Methods in com.pi4j.io.gpio that return PinState Modifier and Type Method Description static PinState[]
PinState. allStates()
static PinState
PinState. getInverseState(PinState state)
PinState
GpioController. getState(GpioPinDigital pin)
PinState
GpioPinDigital. getState()
PinState
GpioPinShutdown. getState()
PinState
GpioProvider. getState(Pin pin)
PinState
GpioProviderBase. getState(Pin pin)
PinState
GpioProviderPinCache. getState()
static PinState
PinState. getState(boolean state)
static PinState
PinState. getState(int state)
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.Methods in com.pi4j.io.gpio that return types with arguments of type PinState Modifier and Type Method Description static EnumSet<PinState>
PinState. all()
Methods in com.pi4j.io.gpio with parameters of type PinState Modifier and Type Method 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
GpioController. export(PinMode mode, PinState defaultState, GpioPin... pin)
void
GpioPin. export(PinMode mode, PinState defaultState)
void
GpioProvider. export(Pin pin, PinMode mode, PinState defaultState)
void
GpioProviderBase. 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
GpioController. isState(PinState state, GpioPinDigital... pin)
boolean
GpioPinDigital. isState(PinState state)
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)
Deprecated.Future<?>
GpioPinDigitalOutput. pulse(long duration, PinState pulseState, boolean blocking, Callable<Void> callback)
Deprecated.Future<?>
GpioPinDigitalOutput. pulse(long duration, PinState pulseState, boolean blocking, Callable<Void> callback, TimeUnit timeUnit)
Deprecated.Future<?>
GpioPinDigitalOutput. pulse(long duration, PinState pulseState, boolean blocking, TimeUnit timeUnit)
Deprecated.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
GpioPinDigitalOutput. pulseSync(long duration, PinState pulseState)
void
GpioPinDigitalOutput. pulseSync(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
GpioController. setShutdownOptions(Boolean unexport, PinState state, GpioPin... pin)
void
GpioController. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, GpioPin... pin)
void
GpioController. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, PinMode mode, GpioPin... pin)
void
GpioPin. setShutdownOptions(Boolean unexport, PinState state)
void
GpioPin. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance)
void
GpioPin. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, PinMode mode)
void
GpioController. setState(PinState state, GpioPinDigitalOutput... pin)
void
GpioPinDigitalOutput. setState(PinState state)
void
GpioPinShutdown. setState(PinState state)
void
GpioProvider. setState(Pin pin, PinState state)
void
GpioProviderBase. setState(Pin pin, PinState state)
void
GpioProviderPinCache. setState(PinState state)
void
SimulatedGpioProvider. setState(Pin pin, PinState state)
void
WiringPiGpioProviderBase. setState(Pin pin, PinState state)
-
Uses of PinState in com.pi4j.io.gpio.event
Fields in com.pi4j.io.gpio.event declared as PinState Modifier and Type Field Description protected PinState
IFTTTMakerChannelTriggerEvent. state
Methods in com.pi4j.io.gpio.event that return PinState Modifier and Type Method Description PinState
GpioPinDigitalStateChangeEvent. getState()
Get the new pin state raised in this event.PinState
IFTTTMakerChannelTriggerEvent. getState()
Get the pin state that activated this trigger.PinState
PinDigitalStateChangeEvent. getState()
Get the new pin state raised in this event.Constructors in com.pi4j.io.gpio.event with parameters of type PinState Constructor Description GpioPinDigitalStateChangeEvent(Object obj, GpioPin pin, PinState state)
Default event constructorIFTTTMakerChannelTriggerEvent(Object obj, GpioPin pin, PinState state, String eventName, String value1, String value2, String value3)
PinDigitalStateChangeEvent(Object obj, Pin pin, PinState state)
Default event constructor -
Uses of PinState in com.pi4j.io.gpio.impl
Methods in com.pi4j.io.gpio.impl that return PinState Modifier and Type Method Description PinState
GpioControllerImpl. getState(GpioPinDigital pin)
PinState
GpioPinImpl. getState()
PinState
GpioPinShutdownImpl. getState()
Methods in com.pi4j.io.gpio.impl with parameters of type PinState Modifier and Type Method Description 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)
static Future<?>
GpioScheduledExecutorImpl. blink(GpioPinDigitalOutput pin, long delay, long duration, PinState blinkState, TimeUnit timeUnit)
void
GpioControllerImpl. export(PinMode mode, PinState defaultState, GpioPin... pin)
void
GpioPinImpl. export(PinMode mode, PinState defaultState)
int
GpioPinImpl. getDebounce(PinState state)
boolean
GpioPinImpl. hasDebounce(PinState state)
boolean
GpioControllerImpl. isState(PinState state, GpioPinDigital... pin)
boolean
GpioPinImpl. isState(PinState state)
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)
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)
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)
void
GpioPinImpl. pulseSync(long duration, PinState pulseState)
void
GpioPinImpl. pulseSync(long duration, PinState pulseState, TimeUnit timeUnit)
void
GpioPinImpl. setDebounce(int debounce, PinState... state)
void
GpioControllerImpl. setShutdownOptions(Boolean unexport, PinState state, GpioPin... pin)
void
GpioControllerImpl. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, GpioPin... pin)
void
GpioControllerImpl. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, PinMode mode, GpioPin... pin)
void
GpioPinImpl. setShutdownOptions(Boolean unexport, PinState state)
void
GpioPinImpl. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance)
void
GpioPinImpl. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, PinMode mode)
void
GpioControllerImpl. setState(PinState state, GpioPinDigitalOutput... pin)
void
GpioPinImpl. setState(PinState state)
void
GpioPinShutdownImpl. setState(PinState state)
-
Uses of PinState in com.pi4j.io.gpio.tasks.impl
Constructors in com.pi4j.io.gpio.tasks.impl with parameters of type PinState Constructor 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)
-
Uses of PinState in com.pi4j.io.gpio.trigger
Methods in com.pi4j.io.gpio.trigger that return PinState Modifier and Type Method Description PinState
GpioSetStateTrigger. getTargetPinState()
Methods in com.pi4j.io.gpio.trigger with parameters of type PinState Modifier and Type Method Description void
GpioTrigger. addPinState(PinState... state)
void
GpioTriggerBase. addPinState(PinState... state)
boolean
GpioTrigger. hasPinState(PinState state)
boolean
GpioTriggerBase. hasPinState(PinState state)
void
GpioBlinkStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioBlinkStopStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioCallbackTrigger. invoke(GpioPin pin, PinState state)
void
GpioInverseSyncStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioPulseStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioSetStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioSyncStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioToggleStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioTrigger. invoke(GpioPin pin, PinState state)
abstract void
GpioTriggerBase. invoke(GpioPin pin, PinState state)
void
IFTTTMakerChannelTrigger. invoke(GpioPin pin, PinState state)
Method parameters in com.pi4j.io.gpio.trigger with type arguments of type PinState Modifier and Type Method Description void
GpioTrigger. addPinState(List<? extends PinState> states)
void
GpioTriggerBase. addPinState(List<? extends PinState> states)
-