pub type W = W<SCRrs>;
Expand description
Register SCR
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn calraf(&mut self) -> CALRAF_W<'_, SCRrs>
pub fn calraf(&mut self) -> CALRAF_W<'_, SCRrs>
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<'_, SCRrs>
pub fn calrbf(&mut self) -> CALRBF_W<'_, SCRrs>
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<'_, SCRrs>
pub fn cwutf(&mut self) -> CWUTF_W<'_, SCRrs>
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<'_, SCRrs>
pub fn ctsf(&mut self) -> CTSF_W<'_, SCRrs>
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<'_, SCRrs>
pub fn ctsovf(&mut self) -> CTSOVF_W<'_, SCRrs>
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.