Rtc Registers; Rtc Control Register High (Rtc_Crh) - ST STM32F100 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F100 Series:
Table of Contents

Advertisement

Real-time clock (RTC)
17.4

RTC registers

Refer to
The peripheral registers can be accessed by half-words (16-bit) or words (32-bit).
17.4.1

RTC control register high (RTC_CRH)

Address offset: 0x00
Reset value: 0x0000
15
14
13
Bits 15:3 Reserved, forced by hardware to 0.
Bit 2 OWIE: Overflow interrupt enable
Bit 1 ALRIE: Alarm interrupt enable
Bit 0 SECIE: Second interrupt enable
These bits are used to mask interrupt requests. Note that at reset all interrupts are disabled,
so it is possible to write to the RTC registers to ensure that no interrupt requests are pending
after initialization. It is not possible to write to the RTC_CRH register when the peripheral is
completing a previous write operation (flagged by RTOFF=0, see
The RTC functions are controlled by this control register. Some bits must be written using a
specific configuration procedure (see
474/709
Section 1.1 on page 32
12
11
10
9
Reserved
0: Overflow interrupt is masked.
1: Overflow interrupt is enabled.
0: Alarm interrupt is masked.
1: Alarm interrupt is enabled.
0: Second interrupt is masked.
1: Second interrupt is enabled.
for a list of abbreviations used in register descriptions.
8
7
6
Configuration
procedure).
RM0041 Rev 6
5
4
3
2
OWIE
rw
Section
17.3.4).
RM0041
1
0
ALRIE
SECIE
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents