Function xiao_m0::i2c_master [−][src]
pub fn i2c_master(
clocks: &mut GenericClockController,
baud: impl Into<Hertz>,
sercom0: 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.