RM0091
3.5.1
Flash access control register (FLASH_ACR)
Address offset: 0x00
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:6 Reserved, must be kept at reset value.
3.5.2
Flash key register (FLASH_KEYR)
Address offset: 0x04
Reset value: xxxx xxxx
31
30
29
w
w
w
15
14
13
w
w
w
Note:
These bits are all write-only and will return a 0 when read.
Bits 31:0 FKEYR: Flash key
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
Bit 5 PRFTBS: Prefetch buffer status
This bit provides the status of the prefetch buffer.
0: Prefetch buffer is disabled
1: Prefetch buffer is enabled
Bit 4 PRFTBE: Prefetch buffer enable
0: Prefetch is disabled
1: Prefetch is enabled
Bit 3 Reserved, must be kept at reset value.
Bits 1:0 LATENCY[2:0]: Latency
These bits represent the ratio of the SYSCLK (system clock) period to the Flash
access time.
000: Zero wait state, if 0 < SYSCLK≤ 24 MHz
001: One wait state, if 24 MHz < SYSCLK ≤ 48 MHz
28
27
26
25
w
w
w
w
12
11
10
9
w
w
w
w
These bits represent the keys to unlock the Flash.
Doc ID 018940 Rev 1
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
5
PRFT
Res.
Res.
Res.
BS
r
24
23
22
21
FKEYR[31:16]
w
w
w
w
8
7
6
5
FKEYR[15:0]
w
w
w
w
Embedded Flash memory
20
19
18
17
Res.
Res.
Res.
Res.
4
3
2
1
PRFT
Res.
LATENCY[2:0]
BE
rw
rw
rw
20
19
18
17
w
w
w
w
4
3
2
1
w
w
w
w
16
Res.
0
rw
16
w
0
w
53/742
Need help?
Do you have a question about the STM32F05 series and is the answer not in the manual?