Enum stm32_metapac::rcc::vals::Rngsel
#[repr(u8)]pub enum Rngsel {
HSI48 = 0,
PLL1_Q = 1,
LSE = 2,
LSI = 3,
}
Variants§
HSI48 = 0
hsi48_ker_ck selected as kernel clock (default after reset)
PLL1_Q = 1
pll1_q_ck selected as kernel clock
LSE = 2
lse_ck selected as kernel clock
LSI = 3
lsi_ker_ck selected as kernel clock
Implementations§
Trait Implementations§
§impl Ord for Rngsel
impl Ord for Rngsel
§impl PartialOrd for Rngsel
impl PartialOrd for Rngsel
§fn partial_cmp(&self, other: &Rngsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Rngsel) -> 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 Rngsel
impl Eq for Rngsel
impl StructuralEq for Rngsel
impl StructuralPartialEq for Rngsel
Auto Trait Implementations§
impl RefUnwindSafe for Rngsel
impl Send for Rngsel
impl Sync for Rngsel
impl Unpin for Rngsel
impl UnwindSafe for Rngsel
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