Enum stm32_metapac::rtc::vals::Calp
#[repr(u8)]pub enum Calp {
NOCHANGE = 0,
INCREASEFREQ = 1,
}
Variants§
NOCHANGE = 0
No RTCCLK pulses are added
INCREASEFREQ = 1
One RTCCLK pulse is effectively inserted every 2^11 pulses (frequency increased by 488.5 ppm)
Implementations§
Trait Implementations§
§impl Ord for Calp
impl Ord for Calp
§impl PartialOrd for Calp
impl PartialOrd for Calp
§fn partial_cmp(&self, other: &Calp) -> Option<Ordering>
fn partial_cmp(&self, other: &Calp) -> 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 Calp
impl Eq for Calp
impl StructuralEq for Calp
impl StructuralPartialEq for Calp
Auto Trait Implementations§
impl RefUnwindSafe for Calp
impl Send for Calp
impl Sync for Calp
impl Unpin for Calp
impl UnwindSafe for Calp
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