Enum stm32_metapac::rcc::vals::Rngsel
#[repr(u8)]pub enum Rngsel {
HSI48 = 0,
PLL1_Q = 1,
LSE = 2,
LSI = 3,
}
Variants§
HSI48 = 0
HSI48 selected as peripheral clock
PLL1_Q = 1
pll1_q selected as peripheral clock
LSE = 2
LSE selected as peripheral clock
LSI = 3
LSI selected as peripheral 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