
GD32L23x User Manual
273
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 week
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
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
ITSEN
COEN
OS[1:0]
OPOL
COS
DSM
S1H
A1H
rw
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
Reserved
CS
BPSHAD
REFEN
TSEG
WTCS[2:0]
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:24
OUT2EN
RTC_OUT pin select
0:RTC_OUT is output on PC13