[][src]Function trellis_m4::i2c_master

pub fn i2c_master<F: Into<Hertz>>(
    pins: STEMMA,
    clocks: &mut GenericClockController,
    bus_speed: F,
    sercom4: SERCOM4,
    mclk: &mut MCLK,
    port: &mut Port
) -> I2CMaster4<Sercom4Pad0<Pb8<PfD>>, Sercom4Pad1<Pb9<PfD>>>

Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.