Struct grand_central_m4::pins::UART0_ [−][src]
Expand description
UART0 pins
Fields
tx: Pb24<Input<Floating>>
rx: Pb25<Input<Floating>>
Implementations
pub fn init<F: Into<Hertz>>(
self,
clocks: &mut GenericClockController,
baud: F,
sercom0: SERCOM0,
mclk: &mut MCLK,
port: &mut Port
) -> UART0<Sercom0Pad1<Pb25<PfC>>, Sercom0Pad0<Pb24<PfC>>, (), ()>
pub fn init<F: Into<Hertz>>(
self,
clocks: &mut GenericClockController,
baud: F,
sercom0: SERCOM0,
mclk: &mut MCLK,
port: &mut Port
) -> UART0<Sercom0Pad1<Pb25<PfC>>, Sercom0Pad0<Pb24<PfC>>, (), ()>
Convenience for setting up the labelled TX, RX pins to operate as a UART device at the specified baud rate.