Enum stm32_metapac::rtc::vals::Tampfreq
#[repr(u8)]pub enum Tampfreq {
DIV32768 = 0,
DIV16384 = 1,
DIV8192 = 2,
DIV4096 = 3,
DIV2048 = 4,
DIV1024 = 5,
DIV512 = 6,
DIV256 = 7,
}
Variants§
DIV32768 = 0
RTCCLK / 32768 (1 Hz when RTCCLK = 32768 Hz)
DIV16384 = 1
RTCCLK / 16384 (2 Hz when RTCCLK = 32768 Hz)
DIV8192 = 2
RTCCLK / 8192 (4 Hz when RTCCLK = 32768 Hz)
DIV4096 = 3
RTCCLK / 4096 (8 Hz when RTCCLK = 32768 Hz)
DIV2048 = 4
RTCCLK / 2048 (16 Hz when RTCCLK = 32768 Hz)
DIV1024 = 5
RTCCLK / 1024 (32 Hz when RTCCLK = 32768 Hz)
DIV512 = 6
RTCCLK / 512 (64 Hz when RTCCLK = 32768 Hz)
DIV256 = 7
RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
Implementations§
Trait Implementations§
§impl Ord for Tampfreq
impl Ord for Tampfreq
§impl PartialOrd for Tampfreq
impl PartialOrd for Tampfreq
§fn partial_cmp(&self, other: &Tampfreq) -> Option<Ordering>
fn partial_cmp(&self, other: &Tampfreq) -> 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 Tampfreq
impl Eq for Tampfreq
impl StructuralEq for Tampfreq
impl StructuralPartialEq for Tampfreq
Auto Trait Implementations§
impl RefUnwindSafe for Tampfreq
impl Send for Tampfreq
impl Sync for Tampfreq
impl Unpin for Tampfreq
impl UnwindSafe for Tampfreq
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