pub struct W(_);
Expand description
Register SCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn calraf(&mut self) -> CALRAF_W<'_, 0>
pub fn calraf(&mut self) -> CALRAF_W<'_, 0>
Bit 0 - Clear alarm A flag Writing 1 in this bit clears the ALRBF bit in the RTC_SR register.
sourcepub fn calrbf(&mut self) -> CALRBF_W<'_, 1>
pub fn calrbf(&mut self) -> CALRBF_W<'_, 1>
Bit 1 - Clear alarm B flag Writing 1 in this bit clears the ALRBF bit in the RTC_SR register.
sourcepub fn cwutf(&mut self) -> CWUTF_W<'_, 2>
pub fn cwutf(&mut self) -> CWUTF_W<'_, 2>
Bit 2 - Clear wakeup timer flag Writing 1 in this bit clears the WUTF bit in the RTC_SR register.
sourcepub fn ctsf(&mut self) -> CTSF_W<'_, 3>
pub fn ctsf(&mut self) -> CTSF_W<'_, 3>
Bit 3 - Clear timestamp flag Writing 1 in this bit clears the TSOVF bit in the RTC_SR register. If ITSF flag is set, TSF must be cleared together with ITSF by setting CRSF and CITSF.
sourcepub fn ctsovf(&mut self) -> CTSOVF_W<'_, 4>
pub fn ctsovf(&mut self) -> CTSOVF_W<'_, 4>
Bit 4 - Clear timestamp overflow flag Writing 1 in this bit clears the TSOVF bit in the RTC_SR register. It is recommended to check and then clear TSOVF only after clearing the TSF bit. Otherwise, an overflow might not be noticed if a timestamp event occurs immediately before the TSF bit is cleared.
Methods from Deref<Target = W<SCR_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more