pub enum Usart0Sel {
Apb2,
Sysclk,
Lxtal,
Irc8m,
}Expand description
Source of the USART0 clock, independent of the APB2 bus clock.
Variants§
Apb2
The APB2 bus clock — the reset default.
Sysclk
The system clock, unaffected by the bus prescalers.
Lxtal
The 32.768 kHz crystal.
Selecting this without starting LXTAL leaves USART0 unclocked, and its
blocking reads and writes will never return.
Irc8m
The internal 8 MHz RC oscillator, independent of the system clock.
Trait Implementations§
impl Copy for Usart0Sel
impl Eq for Usart0Sel
impl StructuralPartialEq for Usart0Sel
Auto Trait Implementations§
impl Freeze for Usart0Sel
impl RefUnwindSafe for Usart0Sel
impl Send for Usart0Sel
impl Sync for Usart0Sel
impl Unpin for Usart0Sel
impl UnsafeUnpin for Usart0Sel
impl UnwindSafe for Usart0Sel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more