Module sr

Source
Expand description

RTC status register

Structs§

SRrs
RTC status register

Enums§

ALRAF
Alarm %s flag
ITSF
Internal timestamp flag This flag is set by hardware when a timestamp on the internal event occurs.
TSF
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.
TSOVF
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.
WUTF
Wakeup timer flag This flag is set by hardware when the wakeup auto-reload counter reaches 0. This flag must be cleared by software at least 1.5 RTCCLK periods before WUTF is set to 1 again.

Type Aliases§

ALRF_R
Field ALRF(A,B) reader - Alarm %s flag
ITSF_R
Field ITSF reader - Internal timestamp flag This flag is set by hardware when a timestamp on the internal event occurs.
R
Register SR reader
TSF_R
Field TSF reader - 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.
TSOVF_R
Field TSOVF reader - 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.
WUTF_R
Field WUTF reader - Wakeup timer flag This flag is set by hardware when the wakeup auto-reload counter reaches 0. This flag must be cleared by software at least 1.5 RTCCLK periods before WUTF is set to 1 again.