Enum stm32_metapac::rcc::vals::Adcsel
#[repr(u8)]pub enum Adcsel {
HCLK4 = 0,
SYS = 1,
PLL1_P = 2,
HSE = 3,
HSI = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
HCLK4 = 0
hclk4 clock selected
SYS = 1
SYSCLK selected
PLL1_P = 2
pll1pclk selected
HSE = 3
HSE clock selected
HSI = 4
HSI clock selected
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
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