Real-time clock (RTC)
30.5
RTC interrupts
The interrupt channel is set in the masked interrupt status register. The interrupt output is
also activated.
Interrupt
Interrupt event
acronym
Alarm A
Alarm B
RTC
Timestamp
Wakeup timer
interrupt
SSR underflow
1. The event flags are in the RTC_SR register.
2. The interrupt masked flags (resulting from event flags AND enable control bits) are in the RTC_MISR register.
3. Wakeup from Stop and Standby modes is possible only when the RTC clock source is LSE or LSI.
4. Wakeup from Shutdown modes is possible only when the RTC clock source is LSE.
906/1306
Table 202. Interrupt requests
Event
Enable
(1)
flag
control bit
ALRAF
ALRAIE
ALRBF
ALRBIE
TSF
TSIE
WUTF
WUTIE
SSRUF
SSRUIE
RM0461 Rev 5
Interrupt
Exit from
clear
Sleep
(2)
method
mode
write 1 in
Yes
CALRAF
write 1 in
Yes
CALRBF
write 1 in
Yes
CTSF
write 1 in
Yes
CWUTF
write 1 in
Yes
CSSRUF
RM0461
Exit from
Exit from
Stop and
Shutdown
Standby
mode
mode
(3)
(4)
Yes
Yes
(3)
(4)
Yes
Yes
(3)
(4)
Yes
Yes
(3)
(4)
Yes
Yes
(3)
(4)
Yes
Yes
Need help?
Do you have a question about the STM32WLEx and is the answer not in the manual?