| Package | Description | 
|---|---|
| com.pi4j.io.i2c | |
| com.pi4j.io.i2c.impl | 
| Modifier and Type | Method and Description | 
|---|---|
I2CDevice | 
I2CBus.getDevice(int address)
Returns i2c device. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
I2CDeviceImpl
Implementation of i2c device. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
I2CDevice | 
I2CBusImpl.getDevice(int address)
Returns i2c device implementation ( 
I2CDeviceImpl). | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
I2CBusImpl.ioctl(I2CDevice device,
     long command,
     ByteBuffer values,
     IntBuffer offsets)  | 
void | 
I2CBusImpl.ioctl(I2CDevice device,
     long command,
     int value)  | 
int | 
I2CBusImpl.readByte(I2CDevice device,
        int localAddress)  | 
int | 
I2CBusImpl.readByteDirect(I2CDevice device)  | 
int | 
I2CBusImpl.readBytes(I2CDevice device,
         int localAddress,
         int size,
         int offset,
         byte[] buffer)  | 
int | 
I2CBusImpl.readBytesDirect(I2CDevice device,
               int size,
               int offset,
               byte[] buffer)  | 
<T> T | 
I2CBusImpl.runBusLockedDeviceAction(I2CDevice device,
                        Callable<T> action)
Selects a device on the bus for an action, and locks parallel access around file descriptor operations. 
 | 
protected void | 
I2CBusImpl.selectBusSlave(I2CDevice device)
Selects the slave device if not already selected on this bus. 
 | 
protected void | 
I2CBusImpl.testForProperOperationConditions(I2CDevice device)  | 
int | 
I2CBusImpl.writeAndReadBytesDirect(I2CDevice device,
                       int writeSize,
                       int writeOffset,
                       byte[] writeBuffer,
                       int readSize,
                       int readOffset,
                       byte[] readBuffer)  | 
void | 
I2CBusImpl.writeByte(I2CDevice device,
         int localAddress,
         byte data)  | 
void | 
I2CBusImpl.writeByteDirect(I2CDevice device,
               byte data)  | 
void | 
I2CBusImpl.writeBytes(I2CDevice device,
          int localAddress,
          int size,
          int offset,
          byte[] buffer)  | 
void | 
I2CBusImpl.writeBytesDirect(I2CDevice device,
                int size,
                int offset,
                byte[] buffer)  | 
Copyright © 2012–2019 Pi4J. All rights reserved.