Enum stm32_metapac::rtc::vals::Lpcal
#[repr(u8)]pub enum Lpcal {
RTCCLK = 0,
CKAPRE = 1,
}
Variants§
RTCCLK = 0
Calibration window is 220 RTCCLK, which is a high-consumption mode. This mode should be set only when less than 32s calibration window is required
CKAPRE = 1
Calibration window is 220 ck_apre, which is the required configuration for ultra-low consumption mode
Implementations§
Trait Implementations§
§impl Ord for Lpcal
impl Ord for Lpcal
§impl PartialOrd for Lpcal
impl PartialOrd for Lpcal
§fn partial_cmp(&self, other: &Lpcal) -> Option<Ordering>
fn partial_cmp(&self, other: &Lpcal) -> 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 Lpcal
impl Eq for Lpcal
impl StructuralEq for Lpcal
impl StructuralPartialEq for Lpcal
Auto Trait Implementations§
impl RefUnwindSafe for Lpcal
impl Send for Lpcal
impl Sync for Lpcal
impl Unpin for Lpcal
impl UnwindSafe for Lpcal
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