Function arduino_mkr1000::uart
source ·
[−]pub fn uart<F: Into<Hertz>>(
clocks: &mut GenericClockController,
baud: F,
sercom5: SERCOM5,
pm: &mut PM,
d13: Pb23<Input<Floating>>,
d14: Pb22<Input<Floating>>,
port: &mut Port
) -> UART5<Sercom5Pad3<Pb23<PfD>>, Sercom5Pad2<Pb22<PfD>>, (), ()>
Expand description
Convenience for setting up the labelled RX, TX pins to operate as a UART device running at the specified baud.