SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 204
Version 2.0
17.11 FMC REGISTERS
Base Address: 0x4006 2000
17.11.1 Flash Low Power Control register (FLASH_LPCTRL)
Address offset: 0x00
Bit
Name
Description
Attribute
Reset
31:16
FMCKEY
FMC verify key.
Read as 0. When writing to the register you must write 0x5AFA to
FMCKEY, otherwise behavior of writing to the register is ignored.
W
0
15:2
Reserved
R
0
1:0
LPMODE[1:0]
Flash Low Power mode enable bit
00b: Disable
01b: Reserved
10b: Slow mode power saving (HCLK=ILRC=32KHz)
11b: Reserved
R/W
0
17.11.2 Flash Status register (FLASH_STATUS)
Address offset: 0x04
Reset value: 0x0000 0000
Bit
Name
Description
Attribute
Reset
31:3
Reserved
R
0
2
PGERR
Programming error flag
0: Read
No error.
Write
Clear this flag.
1: Set by HW when
The address to be programmed contains a value different from
0xFFFFFFFF before programming.
The address to be programmed is illegal.
R/W
0
1
Reserved
R
0
0
BUSY
Busy flag
0: Flash operation is not busy.
1: Flash operation is in progress. This is set on the beginning of a Flash
operation and reset when the operation finishes or when an error occurs
by HW.
R
0
17.11.3 Flash Control register (FLASH_CTRL)
Address offset: 0x08
Note: HCLK
MUST be equal to 12MHz during Flash program and erase operations.
Bit
Name
Description
Attribute
Reset
31:7
Reserved
R
0
7
CHK
Checksum calculation chosen
This bit is set only by SW and reset when the BUSY bit resets.
R/W
0
6
STARTE
Start Erase operation
R/W
0