Uses of Interface
com.diozero.internal.spi.DeviceFactoryInterface
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 DeviceFactoryInterface in com.diozero.devices
Classes in com.diozero.devices that implement DeviceFactoryInterface Modifier and Type Class Description class
Ads1x15
ADS1115 Datasheet: https://www.ti.com/lit/ds/symlink/ads1115.pdf ADS1015 Datasheet: https://www.ti.com/lit/ds/symlink/ads1015.pdfclass
MCP23008
class
MCP23017
class
MCP23S17
class
McpAdc
class
PCA9685
PCA9685 I2C-bus controlled 16-channel 12-bit PWM controller as used in the popular Adafruit PWM add-on board Datasheet: http://www.nxp.com/documents/data_sheet/PCA9685.pdfclass
PCF8574
class
PCF8591
Analog to Digital Converter.class
PiconZero
-
Uses of DeviceFactoryInterface in com.diozero.devices.mcp23xxx
Classes in com.diozero.devices.mcp23xxx that implement DeviceFactoryInterface Modifier and Type Class Description class
MCP23x08
class
MCP23x17
class
MCP23xxx
Support for both MCP23008 and MCP23017 GPIO expansion boards. -
Uses of DeviceFactoryInterface in com.diozero.internal
Constructors in com.diozero.internal with parameters of type DeviceFactoryInterface Constructor Description SoftwarePwmOutputDevice(String key, DeviceFactoryInterface deviceFactory, GpioDigitalOutputDeviceInterface digitalOutputDevice, int frequency, float initialValue)
-
Uses of DeviceFactoryInterface in com.diozero.internal.board.odroid
Constructors in com.diozero.internal.board.odroid with parameters of type DeviceFactoryInterface Constructor Description OdroidC2SysFsPwmOutputDevice(String key, DeviceFactoryInterface deviceFactory, PwmPinInfo pinInfo, int frequency, float initialValue)
-
Uses of DeviceFactoryInterface in com.diozero.internal.provider.builtin
Classes in com.diozero.internal.provider.builtin that implement DeviceFactoryInterface Modifier and Type Class Description class
DefaultDeviceFactory
Constructors in com.diozero.internal.provider.builtin with parameters of type DeviceFactoryInterface Constructor Description DefaultNativeSerialDevice(DeviceFactoryInterface deviceFactory, String key, String deviceFile, int baud, SerialConstants.DataBits dataBits, SerialConstants.StopBits stopBits, SerialConstants.Parity parity, boolean readBlocking, int minReadChars, int readTimeoutMillis)
DefaultNativeSpiDevice(DeviceFactoryInterface deviceFactory, String key, int controller, int chipSelect, int frequency, SpiClockMode spiClockMode, boolean lsbFirst)
SysFsPwmOutputDevice(String key, DeviceFactoryInterface deviceFactory, int pwmChip, PwmPinInfo pinInfo, int frequency, float initialValue)
-
Uses of DeviceFactoryInterface in com.diozero.internal.provider.builtin.i2c
Constructors in com.diozero.internal.provider.builtin.i2c with parameters of type DeviceFactoryInterface Constructor Description NativeI2CDeviceJavaRaf(DeviceFactoryInterface deviceFactory, String key, int controller, int address, I2CConstants.AddressSize addressSize, boolean force)
Deprecated.NativeI2CDeviceSMBus(DeviceFactoryInterface deviceFactory, String key, int controller, int address, I2CConstants.AddressSize addressSize, boolean force)
-
Uses of DeviceFactoryInterface in com.diozero.internal.spi
Subinterfaces of DeviceFactoryInterface in com.diozero.internal.spi Modifier and Type Interface Description interface
AnalogInputDeviceFactoryInterface
interface
AnalogOutputDeviceFactoryInterface
interface
GpioDeviceFactoryInterface
interface
I2CDeviceFactoryInterface
interface
NativeDeviceFactoryInterface
interface
PwmOutputDeviceFactoryInterface
interface
SerialDeviceFactoryInterface
interface
SpiDeviceFactoryInterface
Classes in com.diozero.internal.spi that implement DeviceFactoryInterface Modifier and Type Class Description class
AbstractDeviceFactory
Base class for all device factories, including custom board-specific provider implementations (e.g.class
BaseNativeDeviceFactory
Helper class for instantiating different devices via the configured provider.Methods in com.diozero.internal.spi that return DeviceFactoryInterface Modifier and Type Method Description protected DeviceFactoryInterface
AbstractDevice. getDeviceFactory()
Methods in com.diozero.internal.spi with parameters of type DeviceFactoryInterface Modifier and Type Method Description void
BaseNativeDeviceFactory. registerDeviceFactory(DeviceFactoryInterface deviceFactory)
void
NativeDeviceFactoryInterface. registerDeviceFactory(DeviceFactoryInterface deviceFactory)
Constructors in com.diozero.internal.spi with parameters of type DeviceFactoryInterface Constructor Description AbstractDevice(String key, DeviceFactoryInterface deviceFactory)
AbstractInputDevice(String key, DeviceFactoryInterface deviceFactory)