GD32F20x User Manual
52
Table 2-2. Option byte
Address
Name
Description
0x1fff f800
SPC
option byte Security Protection value
0xA5 : no security protection
any value except 0xA5 : under security protection
0x1fff f801
SPC_N
SPC complement value
0x1fff f802
USER
[7:4]: reserved
[3]: BB
0: boot from bank1 or bank0 if bank1 is void, when
configured boot from main memory
1: boot from bank0, when configured boot from main
memory
[2]: nRST_STDBY
0: generate a reset instead of entering standby mode
1: no reset when entering standby mode
[1]: nRST_DPSLP
0: generate a reset instead of entering Deep-sleep mode
1: no reset when entering Deep-sleep mode
[0]: nWDG_HW
0: hardware free watchdog
1: software free watchdog
0x1fff f803
USER_N
USER complement value
0x1fff f804
DATA[7:0]
user defined data bit 7 to 0
0x1fff f805
DATA_N[7:0]
DATA complement value bit 7 to 0
0x1fff f806
DATA[15:8]
user defined data bit 15 to 8
0x1fff f807
DATA_N[15:8]
DATA complement value bit 15 to 8
0x1fff f808
WP[7:0]
Page Erase/Program Protection bit 7 to 0
0: protection active
1: unprotected
0x1fff f809
WP_N[7:0]
WP complement value bit 7 to 0
0x1fff f80a
WP[15:8]
Page Erase/Program Protection bit 15 to 8
0x1fff f80b
WP_N[15:8]
WP complement value bit 15 to 8
0x1fff f80c
WP[23:16]
Page Erase/Program Protection bit 23 to 16
0x1fff f80d
WP_N[23:16]
WP complement value bit 23 to 16
0x1fff f80e
WP[31:24]
Page Erase/Program Protection bit 31 to 24
WP[30:24]: Each bit is related to 4KB flash protection,
that means 2 pages for GD32F20x_ CL. Bit 0 configures
the first 4KB flash protection, and so on. These bits
totally controls the first 124KB flash protection.
WP[31]: Bit 31 controls the protection of the rest flash
memory.
0x1fff f80f
WP_N[31:24]
WP complement value bit 31 to 24
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 ...