Module i2c

Source
Expand description

Interface for I2C master and slave peripherals.

Structs§

NoSMBus

Enums§

Error
The type of error encountered during I2C communication.
SlaveTransmissionType
This specifies what type of transmission just finished from a Master device.

Traits§

I2CClient
Client interface for I2CDevice implementations.
I2CDevice
Higher-level interface for I2C Master commands that wraps in the I2C address. It gives an interface for communicating with a specific I2C device.
I2CHwMasterClient
Client interface for capsules that use I2CMaster devices.
I2CHwSlaveClient
Client interface for capsules that use I2CSlave devices.
I2CMaster
Interface for an I2C Master hardware driver.
I2CMasterSlave
Convenience type for capsules that need hardware that supports both Master and Slave modes.
I2CSlave
Interface for an I2C Slave hardware driver.
SMBusDevice
SMBusMaster
Interface for an SMBus Master hardware driver. The device implementing this will also seperately implement I2CMaster.