Rtc Date Register (Rtc_Dr) - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

Real-time clock (RTC)
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
34.6.2

RTC date register (RTC_DR)

The RTC_DR is the calendar date shadow register. This register must be written in
initialization mode only. Refer to
Reading the calendar on page
This register is write protected. The write access procedure is described in
write protection on page
Address offset: 0x04
Backup domain reset value: 0x0000 2101
System reset: 0x0000 2101 when BYPSHAD = 0. Not affected when BYPSHAD = 1.
31
30
29
Res.
Res.
Res.
Res.
15
14
13
WDU[2:0]
rw
rw
rw
Bits 31:24 Reserved, must be kept at reset value
Bits 23:20 YT[3:0]: Year tens in BCD format
Bits 19:16 YU[3:0]: Year units in BCD format
Bits 15:13 WDU[2:0]: Week day units
Bit 12 MT: Month tens in BCD format
Bits 11:8 MU: Month units in BCD format
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:4 DT[1:0]: Date tens in BCD format
Bits 3:0 DU[3:0]: Date units in BCD format
1082/1693
1070.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
MT
MU[3:0]
rw
rw
rw
rw
000: forbidden
001: Monday
...
111: Sunday
Calendar initialization and configuration on page 1070
1071.
24
23
22
Res.
YT[3:0]
rw
rw
8
7
6
Res.
Res.
rw
DocID024597 Rev 3
RTC register
21
20
19
18
YU[3:0]
rw
rw
rw
rw
5
4
3
2
DT[1:0]
DU[3:0]
rw
rw
rw
rw
RM0351
and
17
16
rw
rw
1
0
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents

Save PDF