[][src]Trait embedded_platform::i2c::I2cBusMappingExt

pub trait I2cBusMappingExt<SDA, SCL>: I2cBusMapping<SDA, SCL> where
    SDA: Unpin,
    SCL: Unpin
{ fn initialize(self, sda: SDA, scl: SCL) -> Initialize<Self, SDA, SCL>
    where
        Self: Sized + Unpin
, { ... } }

Extension functions for instances of I2cBusMapping.

Provided methods

Important traits for Initialize<A, SDA, SCL>
fn initialize(self, sda: SDA, scl: SCL) -> Initialize<Self, SDA, SCL> where
    Self: Sized + Unpin

Initializes a new I²C bus based off of the two provided SDA (data) and SCL (clock) pins.

Loading content...

Implementors

impl<A, SDA, SCL> I2cBusMappingExt<SDA, SCL> for A where
    A: I2cBusMapping<SDA, SCL>,
    SDA: Unpin,
    SCL: Unpin
[src]

Loading content...