Struct grand_central_m4::pins::UART1_ [−][src]
Expand description
UART1 pins
Fields
tx: Pb12<Input<Floating>>
rx: Pb13<Input<Floating>>
Implementations
pub fn init<F: Into<Hertz>>(
self,
clocks: &mut GenericClockController,
baud: F,
sercom4: SERCOM4,
mclk: &mut MCLK,
port: &mut Port
) -> UART4<Sercom4Pad1<Pb13<PfC>>, Sercom4Pad0<Pb12<PfC>>, (), ()>
pub fn init<F: Into<Hertz>>(
self,
clocks: &mut GenericClockController,
baud: F,
sercom4: SERCOM4,
mclk: &mut MCLK,
port: &mut Port
) -> UART4<Sercom4Pad1<Pb13<PfC>>, Sercom4Pad0<Pb12<PfC>>, (), ()>
Convenience for setting up the labelled TX, RX pins to operate as a UART device at the specified baud rate.