GD32A50x User Manual
89
This bit is set or clear by software
0: no effect
1: option bytes 0 program command
3
MERDF
Data flash mass erase command bit
This bit is set or cleared by software
0: no effect
1: Data flash mass erase command
2
MER
Main flash mass erase command bit
This bit is set or cleared by software
0: no effect
1: main flash mass erase command
1
PER
Main flash page erase command bit
This bit is set or clear by software
0: no effect
1: main flash page erase command
0
PG
Main flash program command bit
This bit is set or clear by software
0: no effect
1: main flash program command
Note:
This register should be reset after the corresponding flash operation completed.
2.4.11.
Address register 1 (FMC_ADDR1)
Address offset: 0x54
Reset value: 0x0000 0000
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
ADDR[31:16]
W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ADDR[15:0]
W
Bits
Fields
Descriptions
31:0
ADDR[31:0]
Flash erase / program command address bits
These bits are configured by software.
ADDR bits are the address of flash to be erased / programmed.
2.4.12.
EEPROM counter register (FMC_EPCNT)
Address offset: 0x58