Enum stm32_metapac::rcc::vals::Lptimsel
#[repr(u8)]pub enum Lptimsel {
PCLK1 = 0,
LSI = 1,
HSI = 2,
LSE = 3,
}
Variants§
PCLK1 = 0
APB1 clock (PCLK1) selected as LPTILM1 clock
LSI = 1
LSI clock is selected as LPTILM1 clock
HSI = 2
HSI clock is selected as LPTILM1 clock
LSE = 3
LSE clock is selected as LPTILM1 clock
Implementations§
Trait Implementations§
§impl Ord for Lptimsel
impl Ord for Lptimsel
§impl PartialOrd for Lptimsel
impl PartialOrd for Lptimsel
§fn partial_cmp(&self, other: &Lptimsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Lptimsel) -> 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 Lptimsel
impl Eq for Lptimsel
impl StructuralEq for Lptimsel
impl StructuralPartialEq for Lptimsel
Auto Trait Implementations§
impl RefUnwindSafe for Lptimsel
impl Send for Lptimsel
impl Sync for Lptimsel
impl Unpin for Lptimsel
impl UnwindSafe for Lptimsel
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