Real-time clock (RTC)
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:6 Reserved, must be kept at reset value.
Bit 5 ITSF: Internal timestamp flag
Bit 4 TSOVF: Timestamp overflow flag
Bit 3 TSF: Timestamp flag
Bit 2 WUTF: Wakeup timer flag
Bit 1 ALRBF: Alarm B flag
Bit 0 ALRAF: Alarm A flag
Note:
The bits of this register are cleared 2 APB clock cycles after setting their corresponding
clear bit in the RTC_SCR register.
34.6.19
RTC masked interrupt status register (RTC_MISR)
Address offset: 0x54
Backup domain reset value: 0x0000 0000
System reset: not affected
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
1532/2083
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
This flag is set by hardware when a timestamp on the internal event occurs.
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.
This flag is set by hardware when a timestamp event occurs.
If ITSF flag is set, TSF must be cleared together with ITSF.
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.
This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the
alarm B register (RTC_ALRMBR).
This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the
alarm A register (RTC_ALRMAR).
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
24
23
22
Res.
Res.
Res.
8
7
6
Res.
Res.
Res.
24
23
22
Res.
Res.
Res.
8
7
6
Res.
Res.
Res.
RM0440 Rev 1
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
ITSF
TSOVF
TSF
WUTF
r
r
r
r
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
ITS
TSOV
TS
WUT
MF
MF
MF
MF
r
r
r
r
RM0440
17
16
Res.
Res.
1
0
ALRBF ALRAF
r
r
17
16
Res.
Res.
1
0
ALRB
ALRA
MF
MF
r
r
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?