Enum stm32_metapac::rcc::vals::Usbsel
#[repr(u8)]pub enum Usbsel {
DISABLE = 0,
PLL1_Q = 1,
PLL3_Q = 2,
HSI48 = 3,
}
Variants§
DISABLE = 0
Disable the kernel clock
PLL1_Q = 1
pll1_q selected as peripheral clock
PLL3_Q = 2
pll3_q selected as peripheral clock
HSI48 = 3
HSI48 selected as peripheral clock
Implementations§
Trait Implementations§
§impl Ord for Usbsel
impl Ord for Usbsel
§impl PartialOrd for Usbsel
impl PartialOrd for Usbsel
§fn partial_cmp(&self, other: &Usbsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Usbsel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Usbsel
impl Eq for Usbsel
impl StructuralEq for Usbsel
impl StructuralPartialEq for Usbsel
Auto Trait Implementations§
impl RefUnwindSafe for Usbsel
impl Send for Usbsel
impl Sync for Usbsel
impl Unpin for Usbsel
impl UnwindSafe for Usbsel
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