Enum stm32_metapac::rcc::vals::Adcsel
#[repr(u8)]pub enum Adcsel {
PLL2_P = 0,
PLL3_R = 1,
PER = 2,
_RESERVED_3 = 3,
}
Variants§
PLL2_P = 0
pll2_p selected as peripheral clock
PLL3_R = 1
pll3_r selected as peripheral clock
PER = 2
PER selected as peripheral clock
_RESERVED_3 = 3
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