![GigaDevice Semiconductor GD32E23 Series User Manual Download Page 56](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794056.webp)
GD32E23x User Manual
56
Bits
Fields
Descriptions
31:6
Reserved
Must be kept at reset value
5
ENDF
End of operation flag bit
When the operation executed successfully, this bit is set by hardware. The
software can clear it by writing 1.
4
WPERR
Erase/Program protection error flag bit
When erasing/programming on protected pages, this bit is set by hardware. The
software can clear it by writing 1.
3
PGAERR
Program alignment error flag bit
This bit is set by hardware when DBUS write data is not alignment. The software
can clear it by writing 1.
2
PGERR
Program error flag bit
When programming to the flash while it is not 0xFFFF, this bit is set by hardware.
The software can clear it by writing 1.
1
Reserved
Must be kept at reset value
0
BUSY
The flash busy bit
When the operation is in progress, this bit is set to 1. When the operation is end or
an error generated, this bit is clear to 0.
2.4.5.
Control register (FMC_CTL)
Address offset: 0x10
Reset value: 0x0000 0080
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
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
OBRLD
ENDIE
Reserved
ERRIE
OBWEN Reserved
LK
START
OBER
OBPG
Reserved
MER
PER
PG
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:14
Reserved
Must be kept at reset value
13
OBRLD
Option byte reload bit
This bit is set by software.
0: No effect
1: Force option byte reload, and generate a system reset
12
ENDIE
End of operation interrupt enable bit