Struct stm32_metapac::rtc::regs::Alrbinr
#[repr(transparent)]pub struct Alrbinr(pub u32);
Expand description
RTC alarm binary mode register
Tuple Fields§
§0: u32
Implementations§
§impl Alrbinr
impl Alrbinr
pub const fn ss(&self) -> u32
pub const fn ss(&self) -> u32
Synchronous counter alarm value in Binary mode. This value is compared with the contents of the synchronous counter to determine if Alarm is to be activated. Only bits 0 up MASKSS-1 are compared. SS[14:0] is the mirror of SS[14:0] in the ALRMSSR, and so can also be read or written through ALRMSSR.
pub fn set_ss(&mut self, val: u32)
pub fn set_ss(&mut self, val: u32)
Synchronous counter alarm value in Binary mode. This value is compared with the contents of the synchronous counter to determine if Alarm is to be activated. Only bits 0 up MASKSS-1 are compared. SS[14:0] is the mirror of SS[14:0] in the ALRMSSR, and so can also be read or written through ALRMSSR.
Trait Implementations§
impl Copy for Alrbinr
impl Eq for Alrbinr
impl StructuralPartialEq for Alrbinr
Auto Trait Implementations§
impl Freeze for Alrbinr
impl RefUnwindSafe for Alrbinr
impl Send for Alrbinr
impl Sync for Alrbinr
impl Unpin for Alrbinr
impl UnwindSafe for Alrbinr
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
)