GD32F3x0 User Manual
233
The OPOL bit in RTC_CTL can configure the polarity of the alarm output which means that
the RTC_ALARM output is the opposite of the corresponding flag bit or not.
15.3.15. RTC power saving mode management
Table 15-1. RTC power saving mode management
Yes: if clock source is LXTAL or IRC40K
RTC Alarm / Tamper Event / Timestamp
Event
Yes: if clock source is LXTAL or IRC40K
RTC Alarm / Tamper Event / Timestamp
Event
15.3.16. RTC interrupts
All RTC interrupts are connected to the EXTI controller.
Below steps should be followed if you want to use the RTC alarm / tamper / timestamp:
1) Configure and enable the corresponding interrupt line to RTC alarm / tamper /
timestamp event of EXTI and set the rising edge for triggering.
2) Configure and enable the RTC alarm / tamper / timestamp global interrupt.
3) Configure and enable the RTC alarm / tamper / timestamp function.
Table 15-2. RTC interrupts control
*: Only active when RTC clock source is LXTAL or IRC40K.