Enum Uartsel
#[repr(u8)]pub enum Uartsel {
Pclk1 = 0,
Sys = 1,
Hsi = 2,
Lse = 3,
}Variants§
Pclk1 = 0
PCLK1 clock selected as UART clock.
Sys = 1
System clock (SYSCLK) selected as UART clock.
Hsi = 2
HSI16 clock selected as UART clock.
Lse = 3
LSE clock selected as UART clock.
Implementations§
Trait Implementations§
impl Copy for Uartsel
impl Eq for Uartsel
§impl Ord for Uartsel
impl Ord for Uartsel
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 Uartsel
impl PartialOrd for Uartsel
impl StructuralPartialEq for Uartsel
Auto Trait Implementations§
impl Freeze for Uartsel
impl RefUnwindSafe for Uartsel
impl Send for Uartsel
impl Sync for Uartsel
impl Unpin for Uartsel
impl UnsafeUnpin for Uartsel
impl UnwindSafe for Uartsel
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