Package | Description |
---|---|
com.pi4j.io.gpio | |
com.pi4j.io.gpio.event | |
com.pi4j.io.gpio.impl | |
com.pi4j.io.gpio.trigger |
Modifier and Type | Interface and Description |
---|---|
interface |
GpioPinAnalog
Gpio analog pin interface.
|
interface |
GpioPinAnalogInput
Analog input pin inteface.
|
interface |
GpioPinAnalogOutput
Gpio analog output pin interface.
|
interface |
GpioPinDigital
Gpio digital pin interface.
|
interface |
GpioPinDigitalInput
This is a decorator interface to describe digital input pin.
|
interface |
GpioPinDigitalMultipurpose
Gpio digital pin interface.
|
interface |
GpioPinDigitalOutput
Gpio digital output pin interface.
|
interface |
GpioPinInput
Gpio input pin interface.
|
interface |
GpioPinOutput
Gpio pin output decorator interface.
|
interface |
GpioPinPwm
Gpio input pin interface.
|
interface |
GpioPinPwmOutput
Gpio output pwm pin interface.This interface adds operation to set output pwm value.
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Collection<GpioPin> |
GpioController.getProvisionedPins() |
Modifier and Type | Method and Description |
---|---|
void |
GpioController.export(PinMode mode,
GpioPin... pin) |
void |
GpioController.export(PinMode mode,
PinState defaultState,
GpioPin... pin) |
PinMode |
GpioController.getMode(GpioPin pin) |
PinPullResistance |
GpioController.getPullResistance(GpioPin pin) |
boolean |
GpioController.isExported(GpioPin... pin) |
boolean |
GpioController.isMode(PinMode mode,
GpioPin... pin) |
boolean |
GpioController.isPullResistance(PinPullResistance resistance,
GpioPin... pin) |
void |
GpioController.setMode(PinMode mode,
GpioPin... pin) |
void |
GpioController.setPullResistance(PinPullResistance resistance,
GpioPin... pin) |
void |
GpioController.setShutdownOptions(Boolean unexport,
GpioPin... pin) |
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 |
GpioController.setShutdownOptions(GpioPinShutdown options,
GpioPin... pin) |
void |
GpioController.unexport(GpioPin... pin) |
void |
GpioController.unprovisionPin(GpioPin... pin) |
Modifier and Type | Field and Description |
---|---|
protected GpioPin |
GpioPinEvent.pin |
Modifier and Type | Method and Description |
---|---|
GpioPin |
GpioPinEvent.getPin()
Get the pin number that changed and raised this event.
|
Constructor and Description |
---|
GpioPinAnalogValueChangeEvent(Object obj,
GpioPin pin,
double value)
Default event constructor
|
GpioPinDigitalStateChangeEvent(Object obj,
GpioPin pin,
PinState state)
Default event constructor
|
GpioPinEvent(Object obj,
GpioPin pin,
PinEventType type) |
Modifier and Type | Class and Description |
---|---|
class |
GpioPinImpl |
Modifier and Type | Method and Description |
---|---|
GpioPin |
GpioControllerImpl.provisionPin(GpioProvider provider,
Pin pin,
PinMode mode) |
GpioPin |
GpioControllerImpl.provisionPin(GpioProvider provider,
Pin pin,
String name,
PinMode mode) |
GpioPin |
GpioControllerImpl.provisionPin(GpioProvider provider,
Pin pin,
String name,
PinMode mode,
PinState defaultState) |
GpioPin |
GpioControllerImpl.provisionPin(Pin pin,
PinMode mode) |
GpioPin |
GpioControllerImpl.provisionPin(Pin pin,
String name,
PinMode mode) |
Modifier and Type | Method and Description |
---|---|
Collection<GpioPin> |
GpioControllerImpl.getProvisionedPins() |
Modifier and Type | Method and Description |
---|---|
void |
GpioControllerImpl.export(PinMode mode,
GpioPin... pin) |
void |
GpioControllerImpl.export(PinMode mode,
PinState defaultState,
GpioPin... pin) |
PinMode |
GpioControllerImpl.getMode(GpioPin pin) |
PinPullResistance |
GpioControllerImpl.getPullResistance(GpioPin pin) |
boolean |
GpioControllerImpl.isExported(GpioPin... pin) |
boolean |
GpioControllerImpl.isMode(PinMode mode,
GpioPin... pin) |
boolean |
GpioControllerImpl.isPullResistance(PinPullResistance resistance,
GpioPin... pin) |
void |
GpioControllerImpl.setMode(PinMode mode,
GpioPin... pin) |
void |
GpioControllerImpl.setPullResistance(PinPullResistance resistance,
GpioPin... pin) |
void |
GpioControllerImpl.setShutdownOptions(Boolean unexport,
GpioPin... pin) |
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 |
GpioControllerImpl.setShutdownOptions(GpioPinShutdown options,
GpioPin... pin) |
void |
GpioControllerImpl.unexport(GpioPin... pin) |
void |
GpioControllerImpl.unprovisionPin(GpioPin... pin) |
Modifier and Type | Method and Description |
---|---|
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 |
GpioBlinkStateTrigger.invoke(GpioPin pin,
PinState state) |
Constructor and Description |
---|
GpioBlinkStopStateTrigger(GpioPin[] pins,
PinState[] states,
GpioPinDigitalOutput targetPin) |
GpioBlinkStopStateTrigger(GpioPin pin,
List<PinState> states,
GpioPinDigitalOutput targetPin) |
GpioBlinkStopStateTrigger(GpioPin pin,
PinState[] states,
GpioPinDigitalOutput targetPin) |
GpioBlinkStopStateTrigger(GpioPin pin,
PinState state,
GpioPinDigitalOutput targetPin) |
GpioToggleStateTrigger(GpioPin[] pins,
PinState[] states,
GpioPinDigitalOutput targetPin) |
GpioToggleStateTrigger(GpioPin pin,
List<PinState> states,
GpioPinDigitalOutput targetPin) |
GpioToggleStateTrigger(GpioPin pin,
PinState[] states,
GpioPinDigitalOutput targetPin) |
GpioToggleStateTrigger(GpioPin pin,
PinState state,
GpioPinDigitalOutput targetPin) |
Constructor and Description |
---|
GpioBlinkStopStateTrigger(List<GpioPin> pins,
List<PinState> states,
GpioPinDigitalOutput targetPin) |
GpioToggleStateTrigger(List<GpioPin> pins,
List<PinState> states,
GpioPinDigitalOutput targetPin) |
Copyright © 2012–2019 Pi4J. All rights reserved.