Rtc Low-Power Modes; Table 151. Effect Of Low-Power Modes On Rtc; Table 152. Rtc Pins Functionality Over Modes - ST STM32G0 1 Series Reference Manual

Table of Contents

Advertisement

RM0444
When the TAMPOE control bit is set is the RTC_CR, all external and internal tamper flags
are ORed and routed to the TAMPALRM output. If OSEL = 00 the TAMPALRM output
reflects only the tampers flags. If OSEL ≠ 00, the signal on TAMPALRM provides both
tamper flags and alarm A, B, or wakeup flag.
The polarity of the TAMPALRM output is determined by the POL control bit in RTC_CR so
that the opposite of the selected flags bit is output when POL is set to 1.
TAMPALRM output
The TAMPALRM pin can be configured in output open drain or output push-pull using the
control bit TAMPALRM_TYPE in the RTC_CR register. It is possible to apply the internal
pull-up in output mode thanks to TAMPALRM_PU in the RTC_CR.
Note:
Once the TAMPALRM output is enabled, it has priority over CALIB on RTC_OUT1.
When TAMPALRM output is selected, the RTC_OUT1 pin is automatically configured but
the RTC_OUT2 pin must be set as alternate function. In case the TAMPALRM is configured
open-drain in the RTC, the RTC_OUT1 GPIO must be configured as input.
30.4

RTC low-power modes

Mode
Sleep
Stop
Standby
Shutdown
The table below summarizes the RTC pins and functions capability in all modes.
Functions
RTC_TS
RTC_REFIN
RTC_OUT1
RTC_OUT2

Table 151. Effect of low-power modes on RTC

No effect
RTC interrupts cause the device to exit the Sleep mode.
The RTC remains active when the RTC clock source is LSE or LSI. RTC interrupts
cause the device to exit the Stop mode.
The RTC remains active when the RTC clock source is LSE or LSI. RTC interrupts
cause the device to exit the Standby mode.
The RTC remains active when the RTC clock source is LSE. RTC interrupts cause the
device to exit the Shutdown mode.

Table 152. RTC pins functionality over modes

Functional in all low-
power modes except
Standby and Shutdown
modes
Yes
Yes
Yes
Yes
RM0444 Rev 5
Description
Functional in Standby
and Shutdown mode
Yes
No
Yes
Yes
Real-time clock (RTC)
Functional in V
BAT
mode
Yes
No
Yes
No
889/1390
926

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G0 1 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF