ST STM32G0 1 Series Reference Manual page 27

Table of Contents

Advertisement

RM0444
28.4.4
28.4.5
28.4.6
29
System window watchdog (WWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . 867
29.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 867
29.2
WWDG main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 867
29.3
WWDG functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 867
29.3.1
29.3.2
29.3.3
29.3.4
29.3.5
29.4
WWDG interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870
29.5
WWDG registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870
29.5.1
29.5.2
29.5.3
29.5.4
30
Real-time clock (RTC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 873
30.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 873
30.2
RTC main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 873
30.3
RTC functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 874
30.3.1
30.3.2
30.3.3
30.3.4
30.3.5
30.3.6
30.3.7
30.3.8
30.3.9
30.3.10 Resetting the RTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 884
30.3.11 RTC synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 884
30.3.12 RTC reference clock detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885
IWDG status register (IWDG_SR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 864
IWDG window register (IWDG_WINR) . . . . . . . . . . . . . . . . . . . . . . . . 865
IWDG register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 866
WWDG block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
Enabling the watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
Controlling the down-counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
How to program the watchdog timeout . . . . . . . . . . . . . . . . . . . . . . . . 868
Debug mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870
WWDG control register (WWDG_CR) . . . . . . . . . . . . . . . . . . . . . . . . . 870
WWDG configuration register (WWDG_CFR) . . . . . . . . . . . . . . . . . . . 871
WWDG status register (WWDG_SR) . . . . . . . . . . . . . . . . . . . . . . . . . 872
WWDG register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 872
RTC block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 874
RTC pins and internal signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 875
GPIOs controlled by the RTC and TAMP . . . . . . . . . . . . . . . . . . . . . . . 876
Clock and prescalers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 878
Real-time clock and calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 879
Programmable alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 880
Periodic auto-wakeup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 880
RTC initialization and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 881
Reading the calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 883
RM0444 Rev 5
Contents
27/1390
38

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