pub fn init<F: Into<Hertz>>(
        self,
        clocks: &mut GenericClockController,
        bus_speed: F,
        sercom7: SERCOM7,
        mclk: &mut MCLK,
        port: &mut Port,
    ) -> I2CMaster7<Sercom7Pad0<Pd8<PfC>>, Sercom7Pad1<Pd9<PfC>>> {
        let gclk0 = clocks.gclk0();
        I2CMaster7::new(
            &clocks.sercom7_core(&gclk0).unwrap(),
            bus_speed.into(),
            sercom7,
            mclk,
            self.sda.into_pad(port),
            self.scl.into_pad(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 init<F: Into<Hertz>>(
        self,
        clocks: &mut GenericClockController,
        bus_speed: F,
        sercom7: SERCOM7,
        mclk: &mut MCLK,
        port: &mut Port,
    ) -> I2CMaster7<Sercom7Pad0<Pd8<PfC>>, Sercom7Pad1<Pd9<PfC>>> {
        let gclk0 = clocks.gclk0();
        I2CMaster7::new(
            &clocks.sercom7_core(&gclk0).unwrap(),
            bus_speed.into(),
            sercom7,
            mclk,
            self.sda.into_pad(port),
            self.scl.into_pad(port),
        )
    }
pub fn init < F : Into < Hertz > > ( self , clocks : & mut GenericClockController , bus_speed : F , sercom7 : SERCOM7 , mclk : & mut MCLK , port : & mut Port , ) -> I2CMaster7 < Sercom7Pad0 < Pd8 < PfC > > , Sercom7Pad1 < Pd9 < PfC > > > { let gclk0 = clocks . gclk0 ( ) ; I2CMaster7 :: new ( & clocks . sercom7_core ( & gclk0 ) . unwrap ( ) , bus_speed . into ( ) , sercom7 , mclk , self . sda . into_pad ( port ) , self . scl . into_pad ( 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 .
self
clocks
&mut GenericClockController
bus_speed
F
sercom7
SERCOM7
mclk
&mut MCLK
port
&mut Port
self
clocks
&mut GenericClockController
bus_speed
F
sercom7
SERCOM7
mclk
&mut MCLK
port
&mut Port