Function samd11_bare::i2c_master

source ·
pub fn i2c_master(
    clocks: &mut GenericClockController,
    baud: impl Into<Hertz>,
    sercom: SERCOM0,
    pm: &mut PM,
    sda: impl Into<Sda>,
    scl: impl Into<Scl>
) -> I2c
Expand description

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