Enum stm32_metapac::rcc::vals::Rngsel
#[repr(u8)]pub enum Rngsel {
DISABLE = 0,
HSI_DIV_8 = 1,
SYS = 2,
PLL1_Q = 3,
}
Variants§
DISABLE = 0
No clock used as RNG clock source
HSI_DIV_8 = 1
HSI divided by 8 used as RNG clock source
SYS = 2
SYSCLK used as RNG clock source
PLL1_Q = 3
PLLQCLK used as RNG clock source
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