Struct grand_central_m4::pins::UART3_ [−][src]
Expand description
UART3 pins
Fields
tx: Pb16<Input<Floating>>
rx: Pb17<Input<Floating>>
Implementations
pub fn init<F: Into<Hertz>>(
self,
clocks: &mut GenericClockController,
baud: F,
sercom5: SERCOM5,
mclk: &mut MCLK,
port: &mut Port
) -> UART5<Sercom5Pad1<Pb17<PfC>>, Sercom5Pad0<Pb16<PfC>>, (), ()>
pub fn init<F: Into<Hertz>>(
self,
clocks: &mut GenericClockController,
baud: F,
sercom5: SERCOM5,
mclk: &mut MCLK,
port: &mut Port
) -> UART5<Sercom5Pad1<Pb17<PfC>>, Sercom5Pad0<Pb16<PfC>>, (), ()>
Convenience for setting up the labelled TX, RX pins to operate as a UART device at the specified baud rate.