Class I2CJNI

    • Constructor Detail

    • Method Detail

      • 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)