Enum stm32_metapac::rtc::vals::AlrmssrSsclr
#[repr(u8)]pub enum AlrmssrSsclr {
FREERUNNING = 0,
ALRMBINR = 1,
}
Variants§
FREERUNNING = 0
The synchronous binary counter (SS[31:0] in RTC_SSR) is free-running
ALRMBINR = 1
The synchronous binary counter (SS[31:0] in RTC_SSR) is running from 0xFFFF FFFF to RTC_ALRMABINR → SS[31:0] value and is automatically reloaded with 0xFFFF FFFF when reaching RTC_ALRMABINR → SS[31:0]
Implementations§
§impl AlrmssrSsclr
impl AlrmssrSsclr
pub const fn from_bits(val: u8) -> AlrmssrSsclr
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for AlrmssrSsclr
impl Clone for AlrmssrSsclr
§fn clone(&self) -> AlrmssrSsclr
fn clone(&self) -> AlrmssrSsclr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<AlrmssrSsclr> for u8
impl From<AlrmssrSsclr> for u8
§fn from(val: AlrmssrSsclr) -> u8
fn from(val: AlrmssrSsclr) -> u8
Converts to this type from the input type.
§impl From<u8> for AlrmssrSsclr
impl From<u8> for AlrmssrSsclr
§fn from(val: u8) -> AlrmssrSsclr
fn from(val: u8) -> AlrmssrSsclr
Converts to this type from the input type.
§impl Ord for AlrmssrSsclr
impl Ord for AlrmssrSsclr
§impl PartialEq for AlrmssrSsclr
impl PartialEq for AlrmssrSsclr
§fn eq(&self, other: &AlrmssrSsclr) -> bool
fn eq(&self, other: &AlrmssrSsclr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for AlrmssrSsclr
impl PartialOrd for AlrmssrSsclr
§fn partial_cmp(&self, other: &AlrmssrSsclr) -> Option<Ordering>
fn partial_cmp(&self, other: &AlrmssrSsclr) -> 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 AlrmssrSsclr
impl Eq for AlrmssrSsclr
impl StructuralEq for AlrmssrSsclr
impl StructuralPartialEq for AlrmssrSsclr
Auto Trait Implementations§
impl RefUnwindSafe for AlrmssrSsclr
impl Send for AlrmssrSsclr
impl Sync for AlrmssrSsclr
impl Unpin for AlrmssrSsclr
impl UnwindSafe for AlrmssrSsclr
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