Uses of Interface
com.diozero.internal.spi.I2CDeviceFactoryInterface
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.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 I2CDeviceFactoryInterface in com.diozero.api
Methods in com.diozero.api that return I2CDeviceFactoryInterface Modifier and Type Method Description I2CDeviceFactoryInterface
I2CDevice.Builder. getFactory()
Methods in com.diozero.api with parameters of type I2CDeviceFactoryInterface Modifier and Type Method Description I2CDevice.Builder
I2CDevice.Builder. setFactory(I2CDeviceFactoryInterface factory)
Set the I2C device factory to use for provisioning I2C device instancesConstructors in com.diozero.api with parameters of type I2CDeviceFactoryInterface Constructor Description I2CDevice(I2CDeviceFactoryInterface deviceFactory, int controller, int address, I2CConstants.AddressSize addressSize, ByteOrder byteOrder)
Construct an I2C device using the specified I2C bus / controller, device address, address size and byte order. -
Uses of I2CDeviceFactoryInterface in com.diozero.devices
Constructors in com.diozero.devices with parameters of type I2CDeviceFactoryInterface Constructor Description PCF8574(I2CDeviceFactoryInterface deviceFactory, int controller, int address)
-
Uses of I2CDeviceFactoryInterface in com.diozero.internal.provider.builtin
Classes in com.diozero.internal.provider.builtin that implement I2CDeviceFactoryInterface Modifier and Type Class Description class
DefaultDeviceFactory
-
Uses of I2CDeviceFactoryInterface in com.diozero.internal.spi
Subinterfaces of I2CDeviceFactoryInterface in com.diozero.internal.spi Modifier and Type Interface Description interface
NativeDeviceFactoryInterface
Classes in com.diozero.internal.spi that implement I2CDeviceFactoryInterface Modifier and Type Class Description class
BaseNativeDeviceFactory
Helper class for instantiating different devices via the configured provider.