Enum stm32_metapac::rtc::vals::Tampprch
#[repr(u8)]pub enum Tampprch {
CYCLES1 = 0,
CYCLES2 = 1,
CYCLES4 = 2,
CYCLES8 = 3,
}
Variants§
CYCLES1 = 0
1 RTCCLK cycle
CYCLES2 = 1
2 RTCCLK cycles
CYCLES4 = 2
4 RTCCLK cycles
CYCLES8 = 3
8 RTCCLK cycles
Implementations§
Trait Implementations§
§impl Ord for Tampprch
impl Ord for Tampprch
§impl PartialOrd for Tampprch
impl PartialOrd for Tampprch
§fn partial_cmp(&self, other: &Tampprch) -> Option<Ordering>
fn partial_cmp(&self, other: &Tampprch) -> 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 Tampprch
impl Eq for Tampprch
impl StructuralEq for Tampprch
impl StructuralPartialEq for Tampprch
Auto Trait Implementations§
impl RefUnwindSafe for Tampprch
impl Send for Tampprch
impl Sync for Tampprch
impl Unpin for Tampprch
impl UnwindSafe for Tampprch
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