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,
IntBuffer status) |
static byte |
i2CRead(byte port,
byte address,
ByteBuffer dataRecieved,
byte receiveSize) |
static byte |
i2CTransaction(byte port,
byte address,
ByteBuffer dataToSend,
byte sendSize,
ByteBuffer dataReceived,
byte receiveSize) |
static byte |
i2CWrite(byte port,
byte address,
ByteBuffer dataToSend,
byte sendSize) |
getPort, getPortWithModule
public static void i2CInitialize(byte port, IntBuffer status)
public static byte i2CTransaction(byte port, byte address, ByteBuffer dataToSend, byte sendSize, ByteBuffer dataReceived, byte receiveSize)
public static byte i2CWrite(byte port, byte address, ByteBuffer dataToSend, byte sendSize)
public static byte i2CRead(byte port, byte address, ByteBuffer dataRecieved, byte receiveSize)
public static void i2CClose(byte port)
Copyright © 2015. All rights reserved.