EasyManuals Logo

ST STM32L0x3 User Manual

ST STM32L0x3
1043 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #668 background imageLoading...
Page #668 background image
Real-time clock (RTC) RM0367
668/1043 RM0367 Rev 7
27.5 RTC low-power modes
27.6 RTC interrupts
All RTC interrupts are connected to the EXTI controller. Refer to Section 13.5: EXTI
registers.
To enable RTC interrupt(s), the following sequence is required:
1. Configure and enable the NVIC line(s) corresponding to the RTC event(s) in interrupt
mode and select the rising edge sensitivity.
2. Configure and enable the RTC IRQ channel in the NVIC.
3. Configure the RTC to generate RTC interrupt(s).
Table 119. Effect of low-power modes on RTC
Mode Description
Sleep
No effect
RTC interrupts cause the device to exit the Sleep mode.
Stop
The RTC remains active when the RTC clock source is LSE or LSI. RTC alarm, RTC
tamper event, RTC timestamp event, and RTC Wakeup cause the device to exit the Stop
mode.
Standby
The RTC remains active when the RTC clock source is LSE or LSI. RTC alarm, RTC
tamper event, RTC timestamp event, and RTC Wakeup cause the device to exit the
Standby mode.
Table 120. Interrupt control bits
Interrupt event Event flag
Enable
control
bit
Exit from
Sleep
mode
Exit from
Stop
mode
Exit from
Standby
mode
Alarm A ALRAF ALRAIE yes yes
(1)
1. Wakeup from STOP and Standby modes is possible only when the RTC clock source is LSE or LSI.
yes
(1)
Alarm B ALRBF ALRBIE yes yes
(1)
yes
(1)
RTC_TS input (timestamp) TSF TSIE yes yes
(1)
yes
(1)
RTC_TAMP1 input detection TAMP1F TAMPIE yes yes
(1)
yes
(1)
RTC_TAMP2 input detection TAMP2F TAMPIE yes yes
(1)
yes
(1)
Wakeup timer interrupt WUTF WUTIE yes yes
(1)
yes
(1)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32L0x3 and is the answer not in the manual?

ST STM32L0x3 Specifications

General IconGeneral
BrandST
ModelSTM32L0x3
CategoryMicrocontrollers
LanguageEnglish

Related product manuals