[][src]Function trellis_m4::i2c_master

pub fn i2c_master<F: Into<Hertz>>(
    pins: I2C,
    clocks: &mut GenericClockController,
    bus_speed: F,
    sercom4: SERCOM4,
    mclk: &mut MCLK,
    port: &mut Port
) -> I2CMaster4

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