Uses of Interface
com.diozero.api.DeviceInterface
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.internal | |
com.diozero.internal.board.odroid | |
com.diozero.internal.provider.builtin |
The built-in default provider supporting GPIO, I2C, SPI and Serial device
communication.
|
com.diozero.internal.provider.builtin.i2c | |
com.diozero.internal.spi |
Service Provider Interface package.
|
-
Uses of DeviceInterface in com.diozero.api
Subinterfaces of DeviceInterface in com.diozero.api Modifier and Type Interface Description interface
I2CDeviceInterface
interface
SerialDeviceInterface
interface
SpiDeviceInterface
Classes in com.diozero.api that implement DeviceInterface Modifier and Type Class Description class
I2CDevice
Utility class for interfacing with to I2C devices.class
SerialDevice
Serial device.class
SpiDevice
Serial Peripheral Interface device -
Uses of DeviceInterface in com.diozero.devices
Classes in com.diozero.devices that implement DeviceInterface Modifier and Type Class Description static class
PiconZero.PiconZeroAnalogInputDevice
static class
PiconZero.PiconZeroAnalogOutputDevice
static class
PiconZero.PiconZeroDigitalInputDevice
static class
PiconZero.PiconZeroDigitalOutputDevice
static class
PiconZero.PiconZeroPwmOutputDevice
-
Uses of DeviceInterface in com.diozero.devices.mcp23xxx
Classes in com.diozero.devices.mcp23xxx that implement DeviceInterface Modifier and Type Class Description class
MCP23xxxDigitalInputDevice
class
MCP23xxxDigitalInputOutputDevice
class
MCP23xxxDigitalOutputDevice
-
Uses of DeviceInterface in com.diozero.internal
Classes in com.diozero.internal that implement DeviceInterface Modifier and Type Class Description class
SoftwarePwmOutputDevice
Generate a very poor approximation of a PWM signal - use at your own risk! All timing is in milliseconds hence it is strongly recommend to use a frequency of 50Hz to minimise integer rounding errors.Methods in com.diozero.internal with type parameters of type DeviceInterface Modifier and Type Method Description <T extends DeviceInterface>
TDeviceStates. getDevice(String key)
Methods in com.diozero.internal with parameters of type DeviceInterface Modifier and Type Method Description void
DeviceStates. closed(DeviceInterface device)
void
DeviceStates. opened(DeviceInterface device)
-
Uses of DeviceInterface in com.diozero.internal.board.odroid
Classes in com.diozero.internal.board.odroid that implement DeviceInterface Modifier and Type Class Description class
OdroidC2SysFsPwmOutputDevice
Setting up: 1 PWM Channel (GPIO 234; Pin 33): -
Uses of DeviceInterface in com.diozero.internal.provider.builtin
Classes in com.diozero.internal.provider.builtin that implement DeviceInterface Modifier and Type Class Description class
DefaultNativeSerialDevice
class
DefaultNativeSpiDevice
class
NativeGpioInputDevice
class
NativeGpioInputOutputDevice
class
NativeGpioOutputDevice
class
SysFsAnalogInputDevice
class
SysFsDigitalInputDevice
Pure Java implementation using the sysfs (/sys/class/gpio) kernel module.class
SysFsDigitalInputOutputDevice
class
SysFsDigitalOutputDevice
class
SysFsPwmOutputDevice
-
Uses of DeviceInterface in com.diozero.internal.provider.builtin.i2c
Classes in com.diozero.internal.provider.builtin.i2c that implement DeviceInterface Modifier and Type Class Description class
NativeI2CDeviceJavaRaf
Deprecated.class
NativeI2CDeviceSMBus
JNI wrapper of SMBus interface. -
Uses of DeviceInterface in com.diozero.internal.spi
Subinterfaces of DeviceInterface in com.diozero.internal.spi Modifier and Type Interface Description interface
AnalogInputDeviceInterface
interface
AnalogOutputDeviceInterface
interface
GpioDeviceInterface
interface
GpioDigitalDeviceInterface
interface
GpioDigitalInputDeviceInterface
interface
GpioDigitalInputOutputDeviceInterface
interface
GpioDigitalOutputDeviceInterface
interface
PwmOutputDeviceInterface
Classes in com.diozero.internal.spi that implement DeviceInterface Modifier and Type Class Description class
AbstractDevice
class
AbstractInputDevice<T extends DeviceEvent>
Methods in com.diozero.internal.spi with type parameters of type DeviceInterface Modifier and Type Method Description <T extends DeviceInterface>
TAbstractDeviceFactory. getDevice(String key)
<T extends DeviceInterface>
TDeviceFactoryInterface. getDevice(String key)
Get the already provisioned device for the specified keyMethods in com.diozero.internal.spi with parameters of type DeviceInterface Modifier and Type Method Description void
AbstractDeviceFactory. deviceClosed(DeviceInterface device)
void
DeviceFactoryInterface. deviceClosed(DeviceInterface device)
diozero internal method to notify theAbstractDeviceFactory
that a device has been closed.void
AbstractDeviceFactory. deviceOpened(DeviceInterface device)
void
DeviceFactoryInterface. deviceOpened(DeviceInterface device)
diozero internal method to notify theAbstractDeviceFactory
that a device has been opened.