SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 164
Version 1.9
15.10 FMC REGISTERS
Base Address: 0x4006 2000
15.10.1 Flash Status register (FLASH_STATUS)
Address offset: 0x04
Reset value: 0x0000 0000
Bit
Name
Description
Attribute
Reset
31:6
Reserved
R
0
5
EOP
End of operation flag
0: Flash operation (programming/erase) is not completed.
1: Set by HW when a Flash operation (programming/erase) is completed,
and is cleared on the beginning of a Flash operation.
R
1
4: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.
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 (clear EOP bit at the same time) and reset when the operation
finishes or when an error occurs by HW.
R
0
15.10.2 Flash Control register (FLASH_CTRL)
Address offset: 0x08
Note: HCLK
MUST be equal or less than 24MHz during Flash program and erase operations.
Bit
Name
Description
Attribute
Reset
31:7
Reserved
R
0
6
STARTE
Start Erase operation
1: Triggers an ERASE operation when set. This bit is set only by SW and
resets when the BUSY bit resets.
PER bit shall also be 1 when setting this bit.
R/W
0
5:2
Reserved
R
0
1
PER
Page Erase chosen.
This bit is set only by SW and reset when the BUSY bit resets.
R/W
0
0
PG
Flash Programming chosen.
This bit is set only by SW and reset when the BUSY bit resets.
R/W
0
15.10.3 Flash Data register (FLASH_DATA)
Address offset: 0x0C
For Page Program operations, this should be updated by SW to indicate the data to be programmed.
Bit
Name
Description
Attribute
Reset
31:0
DATA[31:0]
Data to be programmed.
R/W
0
Содержание SN32F107
Страница 34: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 34 Version 1 9 0 Reserved R 0...
Страница 180: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 180 Version 1 9 20 2 LQFP 64 PIN...
Страница 181: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 181 Version 1 9 20 3 LQFP 80 PIN...