
CH32V003
Reference Manual
V1.3
171
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ADDR[15:0]
Bit
Name
Access
Description
Reset value
[31:0]
ADDR
WO
The flash memory address, when programming, is
the programmed address, and when erasing, is the
start address of the erase.
When the BSY bit in FLASH_SR register is '1',
this register cannot be written.
0
16.3.7 Select word register (FLASH_OBR)
Offset address: 0x14
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
DATA1
DATA0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DATA0
2
’
b11
Reser
ved CFGRSTT
STAN
DY
RST
STOP
RST
IW
DG
SW
RDP
RT
OBE
RR
Bit
Name
Access
Description
Reset value
[31:26]
Reserved
RO
Reserved
0
[25:18]
DATA1
Data byte 1
X
[17:10]
DATA0
Data byte 0
X
[9:8]
2
’
b11
7
Reserved
RO
Reserved
X
[6:5]
CFGRSTT
RO
Configuration word reset delay time
X
4
STANDY_
RST
RO
System reset control in Standby mode.
X
3
Reserved
RO
Reserved
X
2
IWDG_SW
RO
Independent
Watchdog
(IWDG)
hardware enable bit.
1
1
RDPRT
RO
Read protection status.
1: Indicates that the flash memory is
currently read protected.
1
0
OBERR
RO
Wrong choice of words.
1: Indicates that the selection word and its
inverse code do not match.
0
Note: USER and RDPRT are loaded from the user-selected word area after a system reset.
16.3.8 Write protect register (FLASH_WPR)
Offset address: 0x20
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
WPR[31:16]
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
WPR[15:0]
Bit
Name
Access
Description
Reset value
[31:0]
WPR
RO
Flash memory write protect state.
1: Write protection failure.
0: Write protection is valid.
X