GD32A50x User Manual
36
1.6.
System configuration registers
SYSCFG base address: 0x4001 0000
1.6.1.
System configuration register 0 (SYSCFG_CFG0)
Address offset: 0x00
Reset value: 0x0000 000X (X indicates BOOT_MODE[1:0] may be any value according to
the BOOT0 pin and the BOOT1_n pin after reset.)
This register can be accessed by word(32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
BOOT0_
PF0_
RMP
Reserved
PA9_
PA12_
RMP
Reserved
BOOT_MODE[1:0]
rw
rw
r
Bits
Fields
Descriptions
31:7
Reserved
Must be kept at reset value.
6
BOOT0_PF0_RMP
BOOT0 and PF0 remapping bit
This bit is set and cleared by software. It controls the mapping of either BOOT0 or
PF0 function on the BOOT0 pin.
When BOOT0_PF0_RMP is set, the BOOT0 function is tied to 0 by hardware after
system reset. In this case, the system will boot from main flash without regard to the
input value from the BOOT0 pin.
0: No remap (BOOT0 function is mapping on the BOOT0 pin)
1: Remap (PF0 function is mapping on the BOOT0 pin)
5
Reserved
Must be kept at reset value.
4
PA9_PA12_RMP
PA9 and PA12 remapping bit for small packages (32 pins).
This bit is set and cleared by software. It controls the mapping of either PA9/12 or
PA10/11 pin pair on small pin-count packages.
0: No remap (pin pair PA9/12 mapped on the pins)
1: Remap (pin pair PA9/12 mapped instead of PA10/11)
3:2
Reserved
Must be kept at reset value.
1:0
BOOT_MODE[1:0]
for details)
Bit0 is mapping to the BOOT0 pin; the value of bit1 is mapping to the BOOT1 pin.
x0: Boot from the main flash
01: Boot from the system flash memory