public class I2CJNI extends JNIWrapper
Constructor and Description |
---|
I2CJNI() |
Modifier and Type | Method and Description |
---|---|
static void |
i2CClose(byte port) |
static void |
i2CInitialize(byte port) |
static int |
i2CRead(byte port,
byte address,
java.nio.ByteBuffer dataRecieved,
byte receiveSize) |
static int |
i2CTransaction(byte port,
byte address,
java.nio.ByteBuffer dataToSend,
byte sendSize,
java.nio.ByteBuffer dataReceived,
byte receiveSize) |
static int |
i2CWrite(byte port,
byte address,
java.nio.ByteBuffer dataToSend,
byte sendSize) |
getPort, getPortWithModule
public I2CJNI()
public static void i2CInitialize(byte port)
public static int i2CTransaction(byte port, byte address, java.nio.ByteBuffer dataToSend, byte sendSize, java.nio.ByteBuffer dataReceived, byte receiveSize)
public static int i2CWrite(byte port, byte address, java.nio.ByteBuffer dataToSend, byte sendSize)
public static int i2CRead(byte port, byte address, java.nio.ByteBuffer dataRecieved, byte receiveSize)
public static void i2CClose(byte port)