Class I2CJNI


public class I2CJNI
extends JNIWrapper
  • Constructor Details

  • Method Details

    • i2CInitialize

      public static void i2CInitialize​(int port)
    • i2CTransaction

      public static int i2CTransaction​(int port, byte address, ByteBuffer dataToSend, byte sendSize, ByteBuffer dataReceived, byte receiveSize)
    • i2CTransactionB

      public static int i2CTransactionB​(int port, byte address, byte[] dataToSend, byte sendSize, byte[] dataReceived, byte receiveSize)
    • i2CWrite

      public static int i2CWrite​(int port, byte address, ByteBuffer dataToSend, byte sendSize)
    • i2CWriteB

      public static int i2CWriteB​(int port, byte address, byte[] dataToSend, byte sendSize)
    • i2CRead

      public static int i2CRead​(int port, byte address, ByteBuffer dataReceived, byte receiveSize)
    • i2CReadB

      public static int i2CReadB​(int port, byte address, byte[] dataReceived, byte receiveSize)
    • i2CClose

      public static void i2CClose​(int port)