Enum stm32_metapac::rtc::vals::Cosel
#[repr(u8)]pub enum Cosel {
CALFREQ_512HZ = 0,
CALFREQ_1HZ = 1,
}
Variants§
CALFREQ_512HZ = 0
Calibration output is 512 Hz (with default prescaler setting)
CALFREQ_1HZ = 1
Calibration output is 1 Hz (with default prescaler setting)
Implementations§
Trait Implementations§
§impl Ord for Cosel
impl Ord for Cosel
§impl PartialOrd for Cosel
impl PartialOrd for Cosel
§fn partial_cmp(&self, other: &Cosel) -> Option<Ordering>
fn partial_cmp(&self, other: &Cosel) -> 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 Cosel
impl Eq for Cosel
impl StructuralEq for Cosel
impl StructuralPartialEq for Cosel
Auto Trait Implementations§
impl RefUnwindSafe for Cosel
impl Send for Cosel
impl Sync for Cosel
impl Unpin for Cosel
impl UnwindSafe for Cosel
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