GD32F20x User Manual
75
4.4.
Register definition
BPK start address: 0x4000 6C00
4.4.1.
Backup data register x (BKP_DATAx) (x= 0..41)
Address offset: 0x04 to 0x28, 0x40 to 0xBC
Reset value: 0x0000
This register can be accessed by half-word (16-bit) or word (32-bit)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DATA [15:0]
rw
Bits
Fields
Descriptions
15:0
DATA[15:0]
Backup data
These bits are used for general purpose data storage. The contents of the
BKP_DATAx register will remain even if the wake-up action from Standby mode or
system reset or power reset.
4.4.2.
RTC signal output control register (BKP_OCTL)
Address offset: 0x2C
Reset value: 0x0000
This register can be accessed by half-word(16-bit) or word(32-bit)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CALDIR CCOSEL
Reserved
ROSEL
ASOEN
COEN
RCCV[6:0]
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
15
CALDIR
RTC clock calibration direction
0:
Slowed down
1: Speed up
14
CCOSEL
RTC clock output selection
0: RTC clock div 64
1: RTC clock
13:10
Reserved
Must be kept at reset value
9
ROSEL
RTC output selection
0: RTC alarm pulse is selected as the RTC output
1: RTC second pulse is selected as the RTC output
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...