
GD32L23x User Manual
61
1: option byte erase command
4
OBPG
Option bytes program command bit
This bit is set or clear by software
0: no effect
1: option bytes program command
3
Reserved
Must be kept at reset value.
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.6.
Address register (FMC_ADDR)
Address offset: 0x14
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.7.
Option byte status register (FMC_OBSTAT)
Address offset: 0x1C