uploaded 1 month ago
I2C bus driver


# Component: I2C BUS
[Online documentation](

The I2C bus component (Bus) is a set of application-layer code built on top of the ESP-IDF peripheral driver code, It is mainly used for bus communication between ESP chips and external devices. From the point of application development, this component has the following features:

1. Simplified peripheral initialization processes
2. Thread-safe device operations
3. Simple and flexible RW operations

This component abstracts the following concepts:

1. Bus: the resource and configuration option shared between devices during communication
2. Device: device specific resource and configuration option during communication

Each physical peripheral bus can mount one or more devices if the electrical condition allows, the I2C bus addressing devices based on their addresses, thus achieving software independence between different devices on the same bus.

## Add component to your project

Please use the component manager command `add-dependency` to add the `i2c_bus` to your project's dependency, during the `CMake` step the component will be downloaded automatically

``` add-dependency "espressif/i2c_bus=*"


Supports all targets

License: Apache-2.0

To add this component to your project, run: add-dependency "espressif/i2c_bus^0.1.0"

or download archive


  • Archive size
    Archive size: 13.22 KB
  • Downloaded in total
    Downloaded in total 23 times
  • Downloaded this version
    This version: 23 times


espressif/i2c_bus version: 0.1.0