Function samd11_bare::i2c_master [−][src]
pub fn i2c_master(
clocks: &mut GenericClockController,
bus_speed: impl Into<Hertz>,
sercom0: SERCOM0,
pm: &mut PM,
sda: impl Into<Sda>,
scl: impl Into<Scl>
) -> I2C
Expand description
Convenience for setting up the D4 and D5 pins to operate as I²C SDA/SDL (respectively) running at the specified baud.