#[repr(transparent)]pub struct Match(pub u32);Expand description
RTC match register
Tuple Fields§
§0: u32Implementations§
Source§impl Match
impl Match
Sourcepub const fn matval(&self) -> u32
pub const fn matval(&self) -> u32
Contains the match value against which the 1 Hz RTC timer will be compared to set the alarm flag RTC_ALARM and generate an alarm interrupt/wake-up if enabled.
Sourcepub const fn set_matval(&mut self, val: u32)
pub const fn set_matval(&mut self, val: u32)
Contains the match value against which the 1 Hz RTC timer will be compared to set the alarm flag RTC_ALARM and generate an alarm interrupt/wake-up if enabled.
Trait Implementations§
impl Copy for Match
impl Eq for Match
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
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