i2c ModuleΒΆ

This module contains classes that are specific for interaction with I2C devices.

Buses

I2CBus

Implements a communication bus for I2C devices.

SharedI2CBus

An I2C bus that can be shared between threads in a multi-threaded environment.

MockSMBus

Class for testing.

Devices

I2CDevice

Implements a representation of an I2C device.

Syncs

I2CReadLoop

Implements a read loop that is leveraging the ability to read a range of registers in one go.

I2CWriteLoop

Implements a write loop that is leveraging the ability to write a range of registers in one go.