Embedded Flash memory (FLASH)
4.10.16
FLASH CPU2 access control register (FLASH_C2ACR)
Address offset: 0x05C
Reset value: 0x0000 0600
31
30
29
Res.
Res.
Res.
15
14
13
PES
Res.
Res.
rw
Bits 31:16 Reserved, must be kept at reset value.
Bit 15 PES: CPU2 program/erase suspend request
Bits 14:12 Reserved, must be kept at reset value.
Bit 11 ICRST: CPU2 instruction cache reset
Bit 10 Reserved, must be kept at reset value.
Bit 9 ICEN: CPU2 instruction cache enable
Bit 8 PRFTEN: CPU2 prefetch enable.
Bits 7:0 Reserved, must be kept at reset value.
4.10.17
FLASH CPU2 status register (FLASH_C2SR)
Address offset: 0x060
Reset value: 0x0000 0000
Access: no wait state. Word, half-word and byte access.
31
30
29
28
Res.
Res.
Res.
Res.
15
14
13
12
Res.
Res.
Res.
rc_w1
144/1461
28
27
26
25
Res.
Res.
Res.
Res.
12
11
10
9
Res.
ICRST
Res.
ICEN
rw
rw
0: Flash program and erase operations granted
1: Any new Flash program and erase operation is suspended until this bit and the same bit
in FLASH_ACR are cleared. The PESD bit in FLASH_SR and FLASH_C2SR are set when
at least one PES bit in FLASH_ACR or FLASH_C2ACR is set.
0: CPU2 instruction cache not reset
1: CPU2 instruction cache reset
This bit can be written only when the instruction cache is disabled.
0: CPU2 instruction cache disabled
1: CPU2 instruction cache enabled
0: CPU2 prefetch disabled
1: CPU2 prefetch enabled.
27
26
25
Res.
Res.
Res.
11
10
9
Res.
Res.
rc_w1
24
23
22
Res.
Res.
Res.
8
7
6
PRFTEN
Res.
Res.
rw
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
rc_w1
rc_w1
rc_w1
rc_w1
RM0453 Rev 1
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
Res.
Res.
Res.
Res.
20
19
18
Res.
PESD CFGBSY
r
r
5
4
3
2
Res.
rc_w1
rc_w1
RM0453
17
16
Res.
Res.
1
0
Res.
Res.
17
16
Res.
BSY
r
1
0
EOP
rc_w1
rc_w1
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?
Questions and answers