Enum stm32_metapac::rcc::vals::Lptim2sel
#[repr(u8)]pub enum Lptim2sel {
PCLK4 = 0,
PLL2_P = 1,
PLL3_R = 2,
LSE = 3,
LSI = 4,
PER = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
PCLK4 = 0
rcc_pclk4 selected as peripheral clock
PLL2_P = 1
pll2_p selected as peripheral clock
PLL3_R = 2
pll3_r selected as peripheral clock
LSE = 3
LSE selected as peripheral clock
LSI = 4
LSI selected as peripheral clock
PER = 5
PER selected as peripheral clock
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Lptim2sel
impl Ord for Lptim2sel
§impl PartialOrd for Lptim2sel
impl PartialOrd for Lptim2sel
§fn partial_cmp(&self, other: &Lptim2sel) -> Option<Ordering>
fn partial_cmp(&self, other: &Lptim2sel) -> 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 Lptim2sel
impl Eq for Lptim2sel
impl StructuralEq for Lptim2sel
impl StructuralPartialEq for Lptim2sel
Auto Trait Implementations§
impl RefUnwindSafe for Lptim2sel
impl Send for Lptim2sel
impl Sync for Lptim2sel
impl Unpin for Lptim2sel
impl UnwindSafe for Lptim2sel
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