Package | Description |
---|---|
com.diozero.api |
Lower-level APIs for interfacing with devices.
|
com.diozero.devices | |
com.diozero.devices.sandpit | |
com.diozero.internal.provider |
Service Provider Interface package.
|
com.diozero.internal.provider.mcp23xxx | |
com.diozero.internal.provider.sysfs |
Modifier and Type | Method and Description |
---|---|
GpioEventTrigger |
DigitalInputDevice.getTrigger()
Get event trigger configuration.
|
static GpioEventTrigger |
GpioEventTrigger.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GpioEventTrigger[] |
GpioEventTrigger.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
DigitalInputDevice(GpioDeviceFactoryInterface deviceFactory,
int gpio,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
DigitalInputDevice(int gpio,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
WaitableDigitalInputDevice(GpioDeviceFactoryInterface deviceFactory,
int gpio,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
WaitableDigitalInputDevice(int gpio,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
Modifier and Type | Method and Description |
---|---|
GpioDigitalInputDeviceInterface |
PiconZero.createDigitalInputDevice(String key,
PinInfo pinInfo,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
GpioDigitalInputDeviceInterface |
PCF8574.createDigitalInputDevice(String key,
PinInfo pinInfo,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
Constructor and Description |
---|
PiconZeroDigitalInputDevice(PiconZero piconZero,
String key,
PinInfo pinInfo,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
Constructor and Description |
---|
DebouncedDigitalInputDevice(int gpio,
GpioPullUpDown pud,
float debounceTime,
GpioEventTrigger trigger) |
Modifier and Type | Method and Description |
---|---|
GpioDigitalInputDeviceInterface |
GpioDeviceFactoryInterface.createDigitalInputDevice(String key,
PinInfo pinInfo,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
default GpioDigitalInputDeviceInterface |
GpioDeviceFactoryInterface.provisionDigitalInputDevice(int gpio,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
Modifier and Type | Method and Description |
---|---|
GpioDigitalInputDeviceInterface |
MCP23xxx.createDigitalInputDevice(String key,
PinInfo pin_info,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
protected void |
MCP23xxx.setInputMode(int gpio,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
Constructor and Description |
---|
MCP23xxxDigitalInputDevice(MCP23xxx mcp23xxx,
String key,
int gpio,
GpioEventTrigger trigger) |
Modifier and Type | Method and Description |
---|---|
GpioDigitalInputDeviceInterface |
SysFsDeviceFactory.createDigitalInputDevice(String key,
PinInfo pinInfo,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
Constructor and Description |
---|
SysFsDigitalInputDevice(SysFsDeviceFactory deviceFactory,
String key,
PinInfo pinInfo,
GpioEventTrigger trigger) |
Copyright © 2016–2018 mattjlewis. All rights reserved.