public interface RMII2CPort
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
void |
close() |
byte[] |
i2cTransaction(int deviceAddress,
byte[] writeBuf,
int writeOffset,
int writeLen,
int readLen)
High level i2c interface.
|
boolean |
setType(int type) |
byte[] i2cTransaction(int deviceAddress, byte[] writeBuf, int writeOffset, int writeLen, int readLen) throws java.rmi.RemoteException
deviceAddress
- The I2C device address.writeBuf
- The buffer containing data to be written to the device.writeOffset
- The offset of the data within the write bufferwriteLen
- The number of bytes to write.readLen
- The length of the readjava.rmi.RemoteException
void close() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean setType(int type) throws java.rmi.RemoteException
java.rmi.RemoteException