Enum stm32_metapac::rcc::vals::Adcsel
#[repr(u8)]pub enum Adcsel {
DISABLE = 0,
PLL1_Q = 1,
_RESERVED_2 = 2,
SYS = 3,
}
Variants§
DISABLE = 0
No clock selected
PLL1_Q = 1
PLLADC1CLK clock selected
_RESERVED_2 = 2
SYS = 3
SYSCLK clock selected
Implementations§
Trait Implementations§
§impl Ord for Adcsel
impl Ord for Adcsel
§impl PartialOrd for Adcsel
impl PartialOrd for Adcsel
§fn partial_cmp(&self, other: &Adcsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Adcsel) -> 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 Adcsel
impl Eq for Adcsel
impl StructuralEq for Adcsel
impl StructuralPartialEq for Adcsel
Auto Trait Implementations§
impl RefUnwindSafe for Adcsel
impl Send for Adcsel
impl Sync for Adcsel
impl Unpin for Adcsel
impl UnwindSafe for Adcsel
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