Uses of Interface
com.diozero.internal.spi.GpioDeviceFactoryInterface
Package | Description |
---|---|
com.diozero.api |
APIs for interfacing with the host board.
|
com.diozero.devices |
Classes representing actual devices such as LEDs, Buttons as well as GPIO,
devices that are connected via I2C, SPI and Serial interfaces.
|
com.diozero.devices.mcp23xxx | |
com.diozero.devices.motor | |
com.diozero.internal.provider.builtin |
The built-in default provider supporting GPIO, I2C, SPI and Serial device
communication.
|
com.diozero.internal.spi |
Service Provider Interface package.
|
-
Uses of GpioDeviceFactoryInterface in com.diozero.api
Methods in com.diozero.api with parameters of type GpioDeviceFactoryInterface Modifier and Type Method Description DigitalInputDevice.Builder
DigitalInputDevice.Builder. setGpioDeviceFactoryInterface(GpioDeviceFactoryInterface deviceFactory)
SmoothedInputDevice.Builder
SmoothedInputDevice.Builder. setGpioDeviceFactoryInterface(GpioDeviceFactoryInterface deviceFactory)
Constructors in com.diozero.api with parameters of type GpioDeviceFactoryInterface Constructor Description DigitalInputDevice(GpioDeviceFactoryInterface deviceFactory, int gpio, GpioPullUpDown pud, GpioEventTrigger trigger)
DigitalInputDevice(GpioDeviceFactoryInterface deviceFactory, PinInfo pinInfo, GpioPullUpDown pud, GpioEventTrigger trigger, boolean activeHigh)
DigitalInputOutputDevice(GpioDeviceFactoryInterface deviceFactory, int gpio, DeviceMode mode)
DigitalInputOutputDevice(GpioDeviceFactoryInterface deviceFactory, PinInfo pinInfo, DeviceMode mode)
DigitalOutputDevice(GpioDeviceFactoryInterface deviceFactory, int gpio, boolean activeHigh, boolean initialValue)
DigitalOutputDevice(GpioDeviceFactoryInterface deviceFactory, PinInfo pinInfo, boolean activeHigh, boolean initialValue)
SmoothedInputDevice(GpioDeviceFactoryInterface deviceFactory, int gpio, GpioPullUpDown pud, int threshold, int eventAge, int eventDetectPeriod)
SmoothedInputDevice(GpioDeviceFactoryInterface deviceFactory, PinInfo pinInfo, GpioPullUpDown pud, boolean activeHigh, int threshold, int eventAge, int eventDetectPeriod)
WaitableDigitalInputDevice(GpioDeviceFactoryInterface deviceFactory, int gpio, GpioPullUpDown pud, GpioEventTrigger trigger)
Deprecated. -
Uses of GpioDeviceFactoryInterface in com.diozero.devices
Classes in com.diozero.devices that implement GpioDeviceFactoryInterface Modifier and Type Class Description class
MCP23008
class
MCP23017
class
MCP23S17
class
PCF8574
class
PiconZero
Methods in com.diozero.devices with parameters of type GpioDeviceFactoryInterface Modifier and Type Method Description Button.Builder
Button.Builder. setGpioDeviceFactoryInterface(GpioDeviceFactoryInterface deviceFactory)
Constructors in com.diozero.devices with parameters of type GpioDeviceFactoryInterface Constructor Description Button(GpioDeviceFactoryInterface deviceFactory, int gpio, GpioPullUpDown pud)
Button(GpioDeviceFactoryInterface deviceFactory, int gpio, GpioPullUpDown pud, GpioEventTrigger trigger)
Button(GpioDeviceFactoryInterface deviceFactory, PinInfo pinInfo, GpioPullUpDown pud, GpioEventTrigger trigger, boolean activeHigh)
LED(GpioDeviceFactoryInterface deviceFactory, int gpio)
LED(GpioDeviceFactoryInterface deviceFactory, int gpio, boolean activeHigh, boolean initialValue)
LedBarGraph(GpioDeviceFactoryInterface deviceFactory, boolean activeHigh, int... gpios)
LedBarGraph(GpioDeviceFactoryInterface deviceFactory, int... gpios)
RgbLed(GpioDeviceFactoryInterface deviceFactory, int redPin, int greenPin, int bluePin)
-
Uses of GpioDeviceFactoryInterface in com.diozero.devices.mcp23xxx
Classes in com.diozero.devices.mcp23xxx that implement GpioDeviceFactoryInterface Modifier and Type Class Description class
MCP23x08
class
MCP23x17
class
MCP23xxx
Support for both MCP23008 and MCP23017 GPIO expansion boards. -
Uses of GpioDeviceFactoryInterface in com.diozero.devices.motor
Constructors in com.diozero.devices.motor with parameters of type GpioDeviceFactoryInterface Constructor Description DigitalMotor(GpioDeviceFactoryInterface deviceFactory, int forwardGpio, int backwardGpio)
-
Uses of GpioDeviceFactoryInterface in com.diozero.internal.provider.builtin
Classes in com.diozero.internal.provider.builtin that implement GpioDeviceFactoryInterface Modifier and Type Class Description class
DefaultDeviceFactory
-
Uses of GpioDeviceFactoryInterface in com.diozero.internal.spi
Subinterfaces of GpioDeviceFactoryInterface in com.diozero.internal.spi Modifier and Type Interface Description interface
NativeDeviceFactoryInterface
Classes in com.diozero.internal.spi that implement GpioDeviceFactoryInterface Modifier and Type Class Description class
BaseNativeDeviceFactory
Helper class for instantiating different devices via the configured provider.