Uses of Class
com.diozero.api.I2CConstants.AddressSize
Package | Description |
---|---|
com.diozero.api |
APIs for interfacing with the host board.
|
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 I2CConstants.AddressSize in com.diozero.api
Methods in com.diozero.api that return I2CConstants.AddressSize Modifier and Type Method Description I2CConstants.AddressSize
I2CDevice. getAddressSize()
static I2CConstants.AddressSize
I2CConstants.AddressSize. valueOf(int addressSize)
Returns the enum constant of this type with the specified name.static I2CConstants.AddressSize
I2CConstants.AddressSize. valueOf(String name)
Returns the enum constant of this type with the specified name.static I2CConstants.AddressSize[]
I2CConstants.AddressSize. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.diozero.api with parameters of type I2CConstants.AddressSize Modifier and Type Method Description I2CDevice.Builder
I2CDevice.Builder. setAddressSize(I2CConstants.AddressSize addressSize)
Set the I2C deviceaddress size
Constructors in com.diozero.api with parameters of type I2CConstants.AddressSize Constructor Description I2CDevice(int controller, int address, I2CConstants.AddressSize addressSize)
Use thedefault
byte order
I2CDevice(int controller, int address, I2CConstants.AddressSize addressSize, ByteOrder byteOrder)
Use the default native device factoryI2CDevice(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 I2CConstants.AddressSize in com.diozero.internal.provider.builtin
Methods in com.diozero.internal.provider.builtin with parameters of type I2CConstants.AddressSize Modifier and Type Method Description I2CDeviceInterface
DefaultDeviceFactory. createI2CDevice(String key, int controller, int address, I2CConstants.AddressSize addressSize)
-
Uses of I2CConstants.AddressSize in com.diozero.internal.provider.builtin.i2c
Constructors in com.diozero.internal.provider.builtin.i2c with parameters of type I2CConstants.AddressSize 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 I2CConstants.AddressSize in com.diozero.internal.spi
Methods in com.diozero.internal.spi with parameters of type I2CConstants.AddressSize Modifier and Type Method Description I2CDeviceInterface
I2CDeviceFactoryInterface. createI2CDevice(String key, int controller, int address, I2CConstants.AddressSize addressSize)
default I2CDeviceInterface
I2CDeviceFactoryInterface. provisionI2CDevice(int controller, int address, I2CConstants.AddressSize addressSize)