Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 969 Bytes

File metadata and controls

27 lines (19 loc) · 969 Bytes

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

Name Required Type Description
bus yes number I2C bus number of the device. The first bus is 0.
address yes string 7-bit I2C address of the device expressed in hexadecimal. Must be prefixed with 0x and surrounded by double quotes.

Example

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