Function metro_m4::i2c_master
source · pub fn i2c_master(
clocks: &mut GenericClockController,
baud: impl Into<Hertz>,
sercom: I2cSercom,
mclk: &mut MCLK,
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.