pub fn uart<F: Into<Hertz>>(
        self,
        clocks: &mut GenericClockController,
        baud: F,
        sercom4: SERCOM4,
        mclk: &mut MCLK,
        port: &mut Port,
    ) -> UART4<Sercom4Pad1<Pb9<PfD>>, Sercom4Pad0<Pb8<PfD>>, (), ()> {
        let gclk0 = clocks.gclk0();

        UART4::new(
            &clocks.sercom4_core(&gclk0).unwrap(),
            baud.into(),
            sercom4,
            mclk,
            (self.scl.into_pad(port), self.sda.into_pad(port)),
        )
    }
/// Convenience for setting up the labelled SDA, SCL pins to
/// operate as a UART device at the specified baud rate.
///
/// Here SCL is the RX pin and SDA is the TX pin.
Convenience for setting up the labelled SDA, SCL pins to
operate as a UART device at the specified baud rate.


Convenience for setting up the labelled SDA SCL pins to operate as a UART device at the specified baud rate .
pub fn uart<F: Into<Hertz>>(
        self,
        clocks: &mut GenericClockController,
        baud: F,
        sercom4: SERCOM4,
        mclk: &mut MCLK,
        port: &mut Port,
    ) -> UART4<Sercom4Pad1<Pb9<PfD>>, Sercom4Pad0<Pb8<PfD>>, (), ()> {
        let gclk0 = clocks.gclk0();
        UART4::new(
            &clocks.sercom4_core(&gclk0).unwrap(),
            baud.into(),
            sercom4,
            mclk,
            (self.scl.into_pad(port), self.sda.into_pad(port)),
        )
    }
pub fn uart < F : Into < Hertz > > ( self , clocks : & mut GenericClockController , baud : F , sercom4 : SERCOM4 , mclk : & mut MCLK , port : & mut Port , ) -> UART4 < Sercom4Pad1 < Pb9 < PfD > > , Sercom4Pad0 < Pb8 < PfD > > , ( ) , ( ) > { let gclk0 = clocks . gclk0 ( ) ; UART4 :: new ( & clocks . sercom4_core ( & gclk0 ) . unwrap ( ) , baud . into ( ) , sercom4 , mclk , ( self . scl . into_pad ( port ) , self . sda . into_pad ( port ) ) , ) }
Convenience for setting up the labelled SDA, SCL pins to
operate as a UART device at the specified baud rate.
Convenience for setting up the labelled SDA SCL pins to operate as a UART device at the specified baud rate .
self
clocks
&mut GenericClockController
baud
F
sercom4
SERCOM4
mclk
&mut MCLK
port
&mut Port
self
clocks
&mut GenericClockController
baud
F
sercom4
SERCOM4
mclk
&mut MCLK
port
&mut Port