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