ST STM32F102 Series Reference Manual page 12

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

Contents
14.4.5
14.4.6
14.4.7
14.4.8
14.4.9
15
Real-time clock (RTC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
15.1
RTC introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
15.2
RTC main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
15.3
RTC functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
15.3.1
15.3.2
15.3.3
15.3.4
15.3.5
15.4
RTC registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
15.4.1
15.4.2
15.4.3
15.4.4
15.4.5
15.4.6
15.4.7
16
Independent watchdog (IWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
16.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
16.2
IWDG main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
16.3
IWDG functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
16.3.1
16.3.2
16.3.3
16.4
IWDG registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
16.4.1
16.4.2
16.4.3
16.4.4
12/690
Event generation register (TIMx_EGR) . . . . . . . . . . . . . . . . . . . . . . . . 339
Counter (TIMx_CNT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Prescaler (TIMx_PSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Auto-reload register (TIMx_ARR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
TIM6&7 register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Resetting RTC registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
Reading RTC registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
Configuring RTC registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
RTC flag assertion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
RTC control register high (RTC_CRH) . . . . . . . . . . . . . . . . . . . . . . . . 347
RTC control register low (RTC_CRL) . . . . . . . . . . . . . . . . . . . . . . . . . . 348
RTC counter register (RTC_CNTH / RTC_CNTL) . . . . . . . . . . . . . . . . 351
RTC alarm register high (RTC_ALRH / RTC_ALRL) . . . . . . . . . . . . . . 352
RTC register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
Hardware watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Register access protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Debug mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Key register (IWDG_KR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Prescaler register (IWDG_PR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Reload register (IWDG_RLR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
Status register (IWDG_SR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
RM0008

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f101 seriesStm32f103 series

Table of Contents