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