
RM0008
Real-time clock (RTC)
Doc ID 13902 Rev 12
469/1096
18.4 RTC
registers
Refer to
for a list of abbreviations used in register descriptions.
The peripheral registers can be accessed by half-words (16-bit) or words (32-bit).
18.4.1
RTC control register high (RTC_CRH)
Address offset: 0x00
Reset value: 0x0000
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
).
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
OWIE
ALRIE
SECIE
rw
rw
rw
Bits 15:3 Reserved, forced by hardware to 0.
Bit 2
OWIE:
Overflow interrupt enable
0: Overflow interrupt is masked.
1: Overflow interrupt is enabled.
Bit 1
ALRIE
: Alarm interrupt enable
0: Alarm interrupt is masked.
1: Alarm interrupt is enabled.
Bit 0
SECIE:
Second interrupt enable
0: Second interrupt is masked.
1: Second interrupt is enabled.