Module controller

Module controller 

Available on crate feature i2c only.
Expand description

Provides support for the I2C communication bus in controller mode.

Enums§

Error
An I2C error, for controller mode.
Frequency
I2C bus frequency.
NoAcknowledgeSource
Indicates what protocol step was not acknowledged by the target device.
Operation
I2C operation.

Constants§

I2C_TIMEOUT
Timeout value for I2C operations.

Functions§

highest_freq_in
Returns the highest I2C frequency available on the MCU that fits into the requested range.

Type Aliases§

I2cDevice
An I2C driver implementing [embedded_hal_async::i2c::I2c].
Kilohertz
Alias for kilohertz rate (u32 backing storage)