Expand description
UART 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.
Auto Trait Implementations
impl RefUnwindSafe for UART
impl UnwindSafe for UART
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.