GD32W51x User Manual
420
Not affected when BPSHAD = 1.
This register is write protected and can only be written in initialization state
This register can be write-protected to prevent
non-secure access or non-privileged access
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
YRT[3:0]
YRU[3:0]
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DOW[2:0]
MONT
MONU[3:0]
Reserved
DAYT[1:0]
DAYU[3:0]
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:24
Reserved
Must be kept at reset value.
23:20
YRT
Year tens in BCD code
19:16
YRU[3:0]
Year units in BCD code
15:13
DOW[2:0]
Days of the w eek
0x0: Reserved
0x1: Monday
…
0x7: Sunday
12
MONT
Month tens in BCD code
11:8
MONU[3:0]
Month units in BCD code
7:6
Reserved
Must be kept at reset value.
5:4
DAYT[1:0]
Day tens in BCD code
3:0
DAYU[3:0]
Day units in BCD code
16.4.3.
Control register (RTC_CTL)
Address offset: 0x08
System reset: not affected
Backup domain reset value: 0x0000 0000
This register is writing protected,
the register can be protected globally or individually per
bit can be configured to prevent non-secure access or non-privileged access.
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
OUT2EN
Reserved
COEN
OS[1:0]
OPOL
COS
DSM
S1H
A1H
rw
rw
rw
rw
rw
rw
w
w
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TSIE
WTIE
ALRM1IE ALRM0IE
TSEN
WTEN
ALRM1E
N
ALRM0E
N
CCEN
CS
BPSHAD REFEN
TSEG
WTCS[2:0]