Uses of Interface
com.diozero.internal.spi.InternalDeviceInterface
Package | Description |
---|---|
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 InternalDeviceInterface in com.diozero.devices
Classes in com.diozero.devices that implement InternalDeviceInterface 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 InternalDeviceInterface in com.diozero.devices.mcp23xxx
Classes in com.diozero.devices.mcp23xxx that implement InternalDeviceInterface Modifier and Type Class Description class
MCP23xxxDigitalInputDevice
class
MCP23xxxDigitalInputOutputDevice
class
MCP23xxxDigitalOutputDevice
-
Uses of InternalDeviceInterface in com.diozero.internal
Classes in com.diozero.internal that implement InternalDeviceInterface 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 InternalDeviceInterface Modifier and Type Method Description <T extends InternalDeviceInterface>
TDeviceStates. getDevice(String key)
Methods in com.diozero.internal with parameters of type InternalDeviceInterface Modifier and Type Method Description void
DeviceStates. closed(InternalDeviceInterface device)
void
DeviceStates. opened(InternalDeviceInterface device)
-
Uses of InternalDeviceInterface in com.diozero.internal.board.odroid
Classes in com.diozero.internal.board.odroid that implement InternalDeviceInterface Modifier and Type Class Description class
OdroidC2SysFsPwmOutputDevice
Setting up: 1 PWM Channel (GPIO 234; Pin 33): -
Uses of InternalDeviceInterface in com.diozero.internal.provider.builtin
Classes in com.diozero.internal.provider.builtin that implement InternalDeviceInterface 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 InternalDeviceInterface in com.diozero.internal.provider.builtin.i2c
Classes in com.diozero.internal.provider.builtin.i2c that implement InternalDeviceInterface Modifier and Type Class Description class
NativeI2CDeviceJavaRaf
Deprecated.class
NativeI2CDeviceSMBus
JNI wrapper of SMBus interface. -
Uses of InternalDeviceInterface in com.diozero.internal.spi
Subinterfaces of InternalDeviceInterface 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
InternalI2CDeviceInterface
interface
InternalSerialDeviceInterface
interface
InternalSpiDeviceInterface
interface
PwmOutputDeviceInterface
Classes in com.diozero.internal.spi that implement InternalDeviceInterface Modifier and Type Class Description class
AbstractDevice
class
AbstractInputDevice<T extends DeviceEvent>
Methods in com.diozero.internal.spi with type parameters of type InternalDeviceInterface Modifier and Type Method Description <T extends InternalDeviceInterface>
TAbstractDeviceFactory. getDevice(String key)
<T extends InternalDeviceInterface>
TDeviceFactoryInterface. getDevice(String key)
Get the already provisioned device for the specified keyMethods in com.diozero.internal.spi with parameters of type InternalDeviceInterface Modifier and Type Method Description void
AbstractDeviceFactory. deviceClosed(InternalDeviceInterface device)
void
DeviceFactoryInterface. deviceClosed(InternalDeviceInterface device)
diozero internal method to notify theAbstractDeviceFactory
that a device has been closed.void
AbstractDeviceFactory. deviceOpened(InternalDeviceInterface device)
void
DeviceFactoryInterface. deviceOpened(InternalDeviceInterface device)
diozero internal method to notify theAbstractDeviceFactory
that a device has been opened.