pub type R = R<SRrs>;
Expand description
Register SR
reader
Aliased Type§
pub struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn alrf(&self, n: u8) -> ALRF_R
pub fn alrf(&self, n: u8) -> ALRF_R
Alarm (A,B) flag
Sourcepub fn alrf_iter(&self) -> impl Iterator<Item = ALRF_R> + '_
pub fn alrf_iter(&self) -> impl Iterator<Item = ALRF_R> + '_
Iterator for array of: Alarm (A,B) flag
Sourcepub fn wutf(&self) -> WUTF_R
pub fn wutf(&self) -> WUTF_R
Bit 2 - Wakeup timer flag This flag is set by hardware when the wakeup auto-reload counter reaches 0. If WUTOCLR[15:0] is different from 0x0000, WUTF is cleared by hardware when the wakeup auto-reload counter reaches WUTOCLR value. If WUTOCLR[15:0] is 0x0000, WUTF must be cleared by software. This flag must be cleared by software at least 1.5 RTCCLK periods before WUTF is set to 1 again.
Sourcepub fn tsf(&self) -> TSF_R
pub fn tsf(&self) -> TSF_R
Bit 3 - Timestamp flag This flag is set by hardware when a timestamp event occurs. If ITSF flag is set, TSF must be cleared together with ITSF. Note: TSF is not set if TAMPTS = 1 and the tamper flag is read during the 3 ck_apre cycles following tamper event. Refer to for more details.
Sourcepub fn tsovf(&self) -> TSOVF_R
pub fn tsovf(&self) -> TSOVF_R
Bit 4 - Timestamp overflow flag This flag is set by hardware when a timestamp event occurs while TSF is already set. 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.