Package com.diozero.api
Interface I2CDeviceInterface
- All Superinterfaces:
AutoCloseable
,Closeable
,DeviceInterface
,I2CSMBusInterface
- All Known Implementing Classes:
I2CDevice
,NativeI2CDeviceJavaRaf
,NativeI2CDeviceSMBus
public interface I2CDeviceInterface extends DeviceInterface, I2CSMBusInterface
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
I2CDeviceInterface.I2CMessage
-
Field Summary
Fields inherited from interface com.diozero.api.I2CSMBusInterface
MAX_I2C_BLOCK_SIZE
-
Method Summary
Modifier and Type Method Description default int
readNoStop(byte registerAddress, int rxLength, byte[] rxData, boolean repeatedStart)
default void
readWrite(I2CDeviceInterface.I2CMessage[] messages, byte[] buffer)
Methods inherited from interface com.diozero.api.DeviceInterface
close, getKey, isOpen
Methods inherited from interface com.diozero.api.I2CSMBusInterface
blockProcessCall, close, probe, probe, processCall, readBlockData, readByte, readByteData, readBytes, readI2CBlockData, readWordData, readWordSwapped, writeBlockData, writeByte, writeByteData, writeBytes, writeI2CBlockData, writeQuick, writeWordData, writeWordSwapped
-
Method Details
-
readNoStop
default int readNoStop(byte registerAddress, int rxLength, byte[] rxData, boolean repeatedStart) -
readWrite
-