pub fn i2c_master<F: Into<Hertz>>(
    pins: pins::STEMMA,
    clocks: &mut GenericClockController,
    bus_speed: F,
    sercom4: pac::SERCOM4,
    mclk: &mut pac::MCLK,
    port: &mut Port,
) -> I2CMaster4<
    hal::sercom::Sercom4Pad0<gpio::Pb8<gpio::PfD>>,
    hal::sercom::Sercom4Pad1<gpio::Pb9<gpio::PfD>>,
> {
    pins.i2c_master(clocks, bus_speed, sercom4, mclk, port)
}
/// Convenience for setting up the labelled SDA, SCL pins to
/// operate as an I2C master running at the specified frequency.
Convenience for setting up the labelled SDA, SCL pins to
operate as an I2C master running at the specified frequency.
Convenience for setting up the labelled SDA SCL pins to operate as an I2C master running at the specified frequency .
pub fn i2c_master<F: Into<Hertz>>(
    pins: pins::STEMMA,
    clocks: &mut GenericClockController,
    bus_speed: F,
    sercom4: pac::SERCOM4,
    mclk: &mut pac::MCLK,
    port: &mut Port,
) -> I2CMaster4<
    hal::sercom::Sercom4Pad0<gpio::Pb8<gpio::PfD>>,
    hal::sercom::Sercom4Pad1<gpio::Pb9<gpio::PfD>>,
> {
    pins.i2c_master(clocks, bus_speed, sercom4, mclk, port)
}
pub fn i2c_master < F : Into < Hertz > > ( pins : pins :: STEMMA , clocks : & mut GenericClockController , bus_speed : F , sercom4 : pac :: SERCOM4 , mclk : & mut pac :: MCLK , port : & mut Port , ) -> I2CMaster4 < hal :: sercom :: Sercom4Pad0 < gpio :: Pb8 < gpio :: PfD > > , hal :: sercom :: Sercom4Pad1 < gpio :: Pb9 < gpio :: PfD > > , > { pins . i2c_master ( clocks , bus_speed , sercom4 , mclk , port ) }
Convenience for setting up the labelled SDA, SCL pins to
operate as an I2C master running at the specified frequency.
Convenience for setting up the labelled SDA SCL pins to operate as an I2C master running at the specified frequency .
pins
pins::STEMMA
clocks
&mut GenericClockController
bus_speed
F
sercom4
pac::SERCOM4
mclk
&mut pac::MCLK
port
&mut Port
pins
pins::STEMMA
clocks
&mut GenericClockController
bus_speed
F
sercom4
pac::SERCOM4
mclk
&mut pac::MCLK
port
&mut Port