Type Alias W

Source
pub type W = W<SCRrs>;
Expand description

Register SCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

pub fn citsf(&mut self) -> CITSF_W<'_, SCRrs>

Bit 5 - Clear internal timestamp flag Writing 1 in this bit clears the ITSF bit in the RTC_SR register.