esp32-smbus
ESP32-compatible C library for I2C SMBus Protocol.
 All Data Structures Files Functions Variables Typedefs Macros
esp32-smbus Documentation

Introduction

This component provides a subset of the System Management Bus (SMBus) version 3.0 protocol, used to communicate with SMBus-compatible devices over a 2-wire I2C bus. Only 7-bit I2C addresses are currently supported. SMBus PEC is not supported.

It is written and tested for the ESP-IDF environment, version 2.1, using the xtensa-esp32-elf toolchain (gcc version 5.2.0).

Example

An example of this component in use can be found at DavidAntliff/esp32-tsl2561-example

Features

Supports the following SMBus and I2C operations:

In addition, the I2C timeout can be configured.

Documentation

Automatically generated API documentation (doxygen) is available here.

Source Code

The source is available from GitHub.

License

The code in this project is licensed under the MIT license - see LICENSE for details.

Links

Acknowledgements

Roadmap

The following features are anticipated but not yet implemented: