Enum stm32_metapac::rcc::vals::Otghssel
#[repr(u8)]pub enum Otghssel {
HSE = 0,
PLL1_P = 1,
HSE_DIV_2 = 2,
PLL1_P_DIV_2 = 3,
}
Variants§
HSE = 0
HSE selected
PLL1_P = 1
PLL1 “P” (pll1_q_ck) selected,
HSE_DIV_2 = 2
HSE/2 selected
PLL1_P_DIV_2 = 3
PLL1 “P” divided by 2 (pll1_p_ck/2) selected
Implementations§
Trait Implementations§
§impl Ord for Otghssel
impl Ord for Otghssel
§impl PartialOrd for Otghssel
impl PartialOrd for Otghssel
§fn partial_cmp(&self, other: &Otghssel) -> Option<Ordering>
fn partial_cmp(&self, other: &Otghssel) -> 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 Otghssel
impl Eq for Otghssel
impl StructuralEq for Otghssel
impl StructuralPartialEq for Otghssel
Auto Trait Implementations§
impl RefUnwindSafe for Otghssel
impl Send for Otghssel
impl Sync for Otghssel
impl Unpin for Otghssel
impl UnwindSafe for Otghssel
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