i2c_interface

Description

I2C interface to a device.

Direct I2C communication to the device will be performed using the i2c-dev API.

To avoid race conditions and conflicts, no device driver should be bound to the device.

Properties

NameRequiredTypeDescription
busyesnumberI2C bus number of the device. The first bus is 0.
addressyesstring7-bit I2C address of the device expressed in hexadecimal. Must be prefixed with 0x and surrounded by double quotes.

Example

{
  "bus": 1,
  "address": "0x70"
}