Download RM0031 - STMicroelectronics

Transcript
Contents
RM0031
24.6.16 Asynchronous prescaler register (RTC_APRER) . . . . . . . . . . . . . . . . 446
24.6.17 Wakeup timer register high (RTC_WUTRH) . . . . . . . . . . . . . . . . . . . . 447
24.6.18 Wakeup timer register low (RTC_WUTRL) . . . . . . . . . . . . . . . . . . . . . 447
24.6.19 Write protection register (RTC_WPR) . . . . . . . . . . . . . . . . . . . . . . . . . 448
24.6.20 RTC shift control register high (RTC_SHIFTRH) . . . . . . . . . . . . . . . . . 448
24.6.21 RTC shift control register low (RTC_SHIFTRL) . . . . . . . . . . . . . . . . . . 449
24.6.22 Alarm A register 1 (RTC_ALRMAR1) . . . . . . . . . . . . . . . . . . . . . . . . . 449
24.6.23 Alarm A register 2 (RTC_ALRMAR2) . . . . . . . . . . . . . . . . . . . . . . . . . 450
24.6.24 Alarm A register 3 (RTC_ALRMAR3) . . . . . . . . . . . . . . . . . . . . . . . . . 450
24.6.25 Alarm A register 4 (RTC_ALRMAR4) . . . . . . . . . . . . . . . . . . . . . . . . . 451
24.6.26 Alarm A sub second register high (RTC_ALRMASSRH) . . . . . . . . . . . 451
24.6.27 Alarm A sub second register low (RTC_ALRMASSRL) . . . . . . . . . . . . 452
24.6.28 Alarm A subsecond masking register (RTC_ALRMASSMSKR) . . . . . 453
24.6.29 Calibration register high (RTC_CALRH) . . . . . . . . . . . . . . . . . . . . . . . 454
24.6.30 Calibration register low (RTC_CALRL) . . . . . . . . . . . . . . . . . . . . . . . . 455
24.6.31 Tamper control register 1 (RTC_TCR1) . . . . . . . . . . . . . . . . . . . . . . . . 455
24.6.32 Tamper control register 2 (RTC_TCR2) . . . . . . . . . . . . . . . . . . . . . . . . 457
24.6.33 RTC register map and reset values . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
25
26
18/595
Independent watchdog (IWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
25.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
25.2
IWDG functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
25.3
IWDG registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
25.3.1
Key register (IWDG_KR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
25.3.2
Prescaler register (IWDG_PR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
25.3.3
Reload register (IWDG_RLR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
25.3.4
IWDG register map and reset values . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Window watchdog (WWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
26.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
26.2
WWDG main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
26.3
WWDG functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
26.4
How to program the watchdog timeout . . . . . . . . . . . . . . . . . . . . . . . . . . 466
26.5
WWDG low power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
26.6
Hardware watchdog option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
26.7
WWDG interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
DocID15226 Rev 11