Enum Usartsw
#[repr(u8)]pub enum Usartsw {
Pclk1 = 0,
Sys = 1,
Lse = 2,
Hsi = 3,
}Variants§
Pclk1 = 0
PCLK selected as USART clock source
Sys = 1
SYSCLK selected as USART clock source
Lse = 2
LSE selected as USART clock source
Hsi = 3
HSI selected as USART clock source
Implementations§
Trait Implementations§
impl Copy for Usartsw
impl Eq for Usartsw
§impl Ord for Usartsw
impl Ord for Usartsw
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Usartsw
impl PartialOrd for Usartsw
impl StructuralPartialEq for Usartsw
Auto Trait Implementations§
impl Freeze for Usartsw
impl RefUnwindSafe for Usartsw
impl Send for Usartsw
impl Sync for Usartsw
impl Unpin for Usartsw
impl UnsafeUnpin for Usartsw
impl UnwindSafe for Usartsw
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