![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 28](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630028.webp)
www.geehy.com Page 27
Field
Name
R/W
Description
7
PGSEQERR
RC_W1
Programming Sequence Error
This bit will be set to 1 when a programming sequence error
occurs.
15:8
Reserved
16
BUSY
R
Busy
This bit will be set to 1 when operation is performed for Flash.
31:17
Reserved
Flash control register (FMC_CTRL)
Offset address: 0x10
Reset value: 0x8000 0000
This register can be accessed only when there is no Flash operation ongoing.
Field
Name
R/W
Description
0
PG
R/W
Programming
When this bit is set to 1, Flash programming can be enabled.
1
SERS
R/W
Sector Erase
When this bit is set to 1, sector erase can be enabled.
2
MERS
R/W
Mass Erase
When this bit is set to 1, mass erase can be enabled.
6:3
SNUM
R/W
Sector Number
This bit field is used for the specified erase sector.
0000: Sector 0
0001: Sector 1
0010: Sector 2
……
1011: Sector 11
Others: Reserved
7
Reserved
9:8
PGSIZE
R/W
Program Size
This bit field is used to select the number of parallel bits.
00
:
8-bit
01
:
16-bit
10
:
32-bit
11
:
64-bit
15:10
Reserved
16
START
R/S
Start
When this bit is set to 1, the erase operation can be started. This bit
will be cleared to zero when BUSY bit is cleared to zero.
23:17
Reserved
24
OPCINTE
N
R/W
Operation Complete Interrupt Enable
0: Disable
1: Enable