Trait stm32g0xx_hal::i2c::I2cExt[][src]

pub trait I2cExt<I2C> {
    fn i2c<SDA, SCL>(
        self,
        sda: SDA,
        scl: SCL,
        config: Config,
        rcc: &mut Rcc
    ) -> I2c<I2C, SDA, SCL>
    where
        SDA: SDAPin<I2C>,
        SCL: SCLPin<I2C>
; }

Required methods

fn i2c<SDA, SCL>(
    self,
    sda: SDA,
    scl: SCL,
    config: Config,
    rcc: &mut Rcc
) -> I2c<I2C, SDA, SCL> where
    SDA: SDAPin<I2C>,
    SCL: SCLPin<I2C>, 
[src]

Loading content...

Implementors

impl I2cExt<I2C1> for I2C1[src]

impl I2cExt<I2C2> for I2C2[src]

Loading content...