![Geehy SEMICONDUCTOR APM32F030x4x6x8xC Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f030x4x6x8xc/apm32f030x4x6x8xc_user-manual_573629018.webp)
www.geehy.com Page 17
Address
Option byte
Initial
value
R/W
Functional description
0x1FFF F806
Data1
0xFF
R/W User data byte 1
0x1FFF F807
nData1
0x00
R
Data complementary code
0x1FFF F808
WRP0
0xFF
R/W Write protection configuration 0
0x1FFF F809
nWRP0
0x00
R
WRP0 complementary code
0x1FFF F80A
WRP1
0xFF
R/W Write protection configuration 1
0x1FFF F80B
nWRP1
0x00
R
WRP1 complementary code
0x1FFF F80C
WRP2
0xFF
R/W Write protection configuration 2
0x1FFF F80D
nWRP2
0x00
R
WRP2 complementary code
0x1FFF F80E
WRP3
0xFF
R/W Write protection configuration 3
0x1FFF F80F
nWRP3
0x00
R
WRP3 complementary code
Note: When the configurable byte and its reverse code value are "0xFF", the match will not be verified in
the reloading process
Table 12 Write Protection WRPx Function Description of Main Memory Area
Product capacity
Functional description
APM32F030x4x6
series products
Each bit in WRPx controls the write protection of 4KB (4 pages) address of the
main memory area
0: Write protection is turned on
1: Write protection is not turned on
WRP0: Page 0-31
APM32F030x8
series products
Each bit in WRPx controls the write protection of 4KB (4 pages) address of the
main memory area
0: Write protection is turned on
1: Write protection is not turned on
WRP0: Page 0-31
WRP1: Page 32-63
APM32F030xC
series products
Among Bits 0~30 in WRPx, each bit controls the write protection of 4KB (2 pages)
address of the main memory area, and Bit 31 controls the write protection of
132KB address of the main memory area
0: Write protection is turned on
1: Write protection is not turned on
WRP0: Page 0-31
WRP1: Page 32-63
Note: Flash read/write protection configuration is independent of each other. Removing the write
protection will not force the loss of the contents of the main memory area, but keep them as they are.
3.5
Register Address Mapping
Base address: 0x40022000
Table 13 FMC Register Address Mapping
Register name
Description
Offset address
FMC_CTRL1
Control register 1
0x00
FMC_KEY
Key register
0x04
FMC_OBKEY
Option byte key register
0x08
FMC_STS
State register
0x0C