pub fn init<F: Into<Hertz>>(
        self,
        clocks: &mut GenericClockController,
        baud: F,
        sercom5: pac::SERCOM5,
        mclk: &mut MCLK,
        port: &mut Port,
    ) -> UART5<hal::sercom::Sercom5Pad1<Pb17<PfC>>, hal::sercom::Sercom5Pad0<Pb16<PfC>>, (), ()>
    {
        let gclk0 = clocks.gclk0();

        UART5::new(
            &clocks.sercom5_core(&gclk0).unwrap(),
            baud.into(),
            sercom5,
            mclk,
            (self.rx.into_pad(port), self.tx.into_pad(port)),
        )
    }
/// Convenience for setting up the labelled TX, RX pins
/// to operate as a UART device at the specified baud rate.
Convenience for setting up the labelled TX, RX pins
to operate as a UART device at the specified baud rate.
Convenience for setting up the labelled TX RX pins to operate as a UART device at the specified baud rate .
pub fn init<F: Into<Hertz>>(
        self,
        clocks: &mut GenericClockController,
        baud: F,
        sercom5: pac::SERCOM5,
        mclk: &mut MCLK,
        port: &mut Port,
    ) -> UART5<hal::sercom::Sercom5Pad1<Pb17<PfC>>, hal::sercom::Sercom5Pad0<Pb16<PfC>>, (), ()>
    {
        let gclk0 = clocks.gclk0();
        UART5::new(
            &clocks.sercom5_core(&gclk0).unwrap(),
            baud.into(),
            sercom5,
            mclk,
            (self.rx.into_pad(port), self.tx.into_pad(port)),
        )
    }
pub fn init < F : Into < Hertz > > ( self , clocks : & mut GenericClockController , baud : F , sercom5 : pac :: SERCOM5 , mclk : & mut MCLK , port : & mut Port , ) -> UART5 < hal :: sercom :: Sercom5Pad1 < Pb17 < PfC > > , hal :: sercom :: Sercom5Pad0 < Pb16 < PfC > > , ( ) , ( ) > { let gclk0 = clocks . gclk0 ( ) ; UART5 :: new ( & clocks . sercom5_core ( & gclk0 ) . unwrap ( ) , baud . into ( ) , sercom5 , mclk , ( self . rx . into_pad ( port ) , self . tx . into_pad ( port ) ) , ) }
Convenience for setting up the labelled TX, RX pins
to operate as a UART device at the specified baud rate.
Convenience for setting up the labelled TX RX pins to operate as a UART device at the specified baud rate .
self
clocks
&mut GenericClockController
baud
F
sercom5
pac::SERCOM5
mclk
&mut MCLK
port
&mut Port
self
clocks
&mut GenericClockController
baud
F
sercom5
pac::SERCOM5
mclk
&mut MCLK
port
&mut Port