[−][src]Function circuit_playground_express::i2c_master
pub fn i2c_master<F: Into<Hertz>>(
clocks: &mut GenericClockController,
bus_speed: F,
sercom5: SERCOM5,
pm: &mut PM,
sda: Pb2<Input<Floating>>,
scl: Pb3<Input<Floating>>,
port: &mut Port
) -> I2CMaster5
Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.