Module i2c

Source
Expand description

Definitions for I²C peripherals.

Modules§

begin_read
Defines futures for initiating reads from an I²C peripheral.
begin_write
Defines futures for initiating writes to an I²C peripheral.
initialize
Defines futures for initializing an I²C peripheral based off of GPIO pins.

Traits§

I2cBusMapping
Defines a mapping for two GPIO pins that can be used to create an I²C bus.
I2cBusMappingExt
Extension functions for instances of I2cBusMapping.
I2cRead
A peripheral that can perform I²C read operations.
I2cReadExt
Extension functions for instances of I2cRead.
I2cWrite
A peripheral that can perform I²C write operations.
I2cWriteExt
Extension functions for instances of I2cWrite.