EasyManua.ls Logo

ARTERY AT32F421C8T7 - Flash Performance Select Register (FLASH_PSR); Flash Unlock Register (FLASH_UNLOCK); Flash User System Data Unlock Register (FLASH_USD_UNLOCK)

Default Icon
337 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AT32F421 Series Reference Manual
2022.11.11 Page 73 Rev 2.02
5.8.1 Flash performance select register (FLASH_PSR)
Bit
Abbr.
Reset value
Type
Description
Bit 31: 9
Reserved
0x000000
resd
Kept at its default value.
Bit 8
PFT_LAT_DIS
0
rw
Prefetch latency disable
0: Prefetch latency of Flash is enabled, meaning that
accessing buffer requires one system clock cycle
1: Prefetch latency of Flash is disabled, meaning that
accessing buffer requires no wait state.
Note: It is recommended to set this bit to 1 and remain
unchanged.
Bit 7
PFT_ENF2
0
ro
Prefetch enable flag 2
When this bit is set, it indicates that the Flash prefetch
buffer block 2 is enabled.
Bit 6
PFT_EN2
0
rw
Prefetch enable 2
0: Prefetch buffer block 2 is disabled
1: Prefetch buffer block 2 is enabled.
Note: It is recommended to set this bit to 1 and remain
unchanged.
Bit 5
PFT_ENF
1
ro
Prefetch enable flag
When this bit is set, it indicates that the Flash prefetch
buffer is enabled.
Bit 4
PFT_EN
1
rw
Prefetch enable
0: Prefetch is disabled
1: Prefetch is enabled.
Bit 3
HFCYC_EN
0x0
rw
Half cycle accelerated access enable
0: Disabled
1: Enabled
Note: There are some limitations in system clock
frequency for this feature, refer to the AT32F421 data
sheet for details.
Bit 2: 0
WTCYC
0x0
rw
Wait cycle
The wait states for Flash access depend on the size of
the system clock, and they are in terms of system clocks.
000: Zero wait state when 0MHz<system clock32MHz
001: One wait state when 32MHz<system clock64MHz
010: Two wait states when 64MHz<system clock
96MHz
011: Three wait states when 96MHz<system clock
120MHz
5.8.2 Flash unlock register (FLASH_UNLOCK)
Bit
Abbr.
Reset value
Type
Description
Bit 31: 0
UKVAL
0xXXXX XXXX
wo
Unlock key value
This is used to unlock Flash memory bank and its
extension area.
Note: All these bits are write-only, and return 0 when being read.
5.8.3 Flash user system data unlock register
(FLASH_USD_UNLOCK)
Bit
Abbr.
Reset value
Type
Description
Bit 31: 0
USD_UKVAL
0xXXXX XXXX
wo
User system data Unlock key value
Note: All these bits are write-only, and return 0 when being read.

Table of Contents

Related product manuals