Module i2c

Module i2c 

Source

Modules§

codecs

Structs§

I2cBoundBusAsync
This represents a specific device bound to an I2C bus.
I2cBoundBusSync
This represents a specific device bound to an I2C bus.
I2cDeviceAsync
This represents an I2C device on an I2C bus, including a default codec.
I2cDeviceSync
This represents an I2C device on an I2C bus, including a default codec.

Traits§

CodecAsync
Represents a trait for I2C codecs. These are responsible to perform writes and reads to registers, given the register address and the raw data. Different devices can have different ways to encode the desired address, address size, continuous-read mode and more.
CodecSync
Represents a trait for I2C codecs. These are responsible to perform writes and reads to registers, given the register address and the raw data. Different devices can have different ways to encode the desired address, address size, continuous-read mode and more.