[−][src]Function trellis_m4::uart
pub fn uart<F: Into<Hertz>>(
pins: STEMMA,
clocks: &mut GenericClockController,
baud: F,
sercom4: SERCOM4,
mclk: &mut MCLK,
port: &mut Port
) -> UART4<Sercom4Pad1<Pb9<PfD>>, Sercom4Pad0<Pb8<PfD>>, (), ()>
Convenience for setting up the labelled SDA, SCL pins in the STEMMA JST connector to operate as a UART device at the specified baud rate.
Here SCL is the RX pin and SDA is the TX pin.