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
§impl PartialOrd for AlrmssrSsclr
impl PartialOrd for AlrmssrSsclr
impl Copy for AlrmssrSsclr
impl Eq for AlrmssrSsclr
impl StructuralPartialEq for AlrmssrSsclr
Auto Trait Implementations§
impl Freeze for AlrmssrSsclr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)