Enum stm32_metapac::rtc::vals::Wucksel
#[repr(u8)]pub enum Wucksel {
DIV16 = 0,
DIV8 = 1,
DIV4 = 2,
DIV2 = 3,
CLOCKSPARE = 4,
_RESERVED_5 = 5,
CLOCKSPAREWITHOFFSET = 6,
_RESERVED_7 = 7,
}
Variants§
DIV16 = 0
RTC/16 clock is selected
DIV8 = 1
RTC/8 clock is selected
DIV4 = 2
RTC/4 clock is selected
DIV2 = 3
RTC/2 clock is selected
CLOCKSPARE = 4
ck_spre (usually 1 Hz) clock is selected
_RESERVED_5 = 5
CLOCKSPAREWITHOFFSET = 6
ck_spre (usually 1 Hz) clock is selected and 2^16 is added to the WUT counter value
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Wucksel
impl Ord for Wucksel
§impl PartialOrd for Wucksel
impl PartialOrd for Wucksel
§fn partial_cmp(&self, other: &Wucksel) -> Option<Ordering>
fn partial_cmp(&self, other: &Wucksel) -> 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 Wucksel
impl Eq for Wucksel
impl StructuralEq for Wucksel
impl StructuralPartialEq for Wucksel
Auto Trait Implementations§
impl RefUnwindSafe for Wucksel
impl Send for Wucksel
impl Sync for Wucksel
impl Unpin for Wucksel
impl UnwindSafe for Wucksel
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