Download Print this page

Rtc Registers - ST STM32F413 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F413:

Advertisement

Real-time clock (RTC)
25.6

RTC registers

Refer to
register descriptions.
The peripheral registers have to be accessed by words (32 bits).
25.6.1
RTC time register (RTC_TR)
The RTC_TR is the calendar time shadow register. This register must be written in
initialization mode only. Refer to
calendar.
Address offset: 0x00
Backup domain reset value: 0x0000 0000
System reset: 0x0000 0000 when BYPSHAD = 0. Not affected when BYPSHAD = 1.
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
MNT[2:0]
rw
rw
Bits 31-24 Reserved, must be kept at reset value
Bit 23 Reserved, must be kept at reset value.
Bit 22 PM: AM/PM notation
Bits 21:20 HT[1:0]: Hour tens in BCD format
Bits 19:16 HU[3:0]: Hour units in BCD format
Bit 15 Reserved, must be kept at reset value.
Bits 14:12 MNT[2:0]: Minute tens in BCD format
Bits 11:8 MNU[3:0]: Minute units in BCD format
Bit 7 Reserved, must be kept at reset value.
Bits 6:4 ST[2:0]: Second tens in BCD format
Bits 3:0 SU[3:0]: Second units in BCD format
Note:
This register is write protected. The write access procedure is described in
write protection on page
732/1284
Section 1.1 on page 51
28
27
26
25
Res.
Res.
Res.
12
11
10
9
MNU[3:0]
rw
rw
rw
rw
0: AM or 24-hour format
1: PM
720.
of this reference manual for a list of abbreviations used in
Calendar initialization and configuration
24
23
22
Res.
Res.
PM
rw
8
7
6
Res.
rw
rw
DocID029473 Rev 3
and
21
20
19
18
HT[1:0]
rw
rw
rw
rw
5
4
3
ST[2:0]
rw
rw
rw
rw
RM0430
Reading the
17
16
HU[3:0]
rw
rw
2
1
0
SU[3:0]
rw
rw
RTC register

Advertisement

loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f423