Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
FLASH Interface configuration functions
[FLASH_Private_Functions]
FLASH Interface configuration functions. More...
Functions | |
| void | FLASH_SetLatency (uint32_t FLASH_Latency) |
| Sets the code latency value. | |
| void | FLASH_HalfCycleAccessCmd (FunctionalState NewState) |
| Enables or disables the Half cycle flash access. | |
| void | FLASH_PrefetchBufferCmd (FunctionalState NewState) |
| Enables or disables the Prefetch Buffer. | |
Detailed Description
FLASH Interface configuration functions.
===============================================================================
##### FLASH Interface configuration functions #####
===============================================================================
[..] This group includes the following functions:
(+) void FLASH_SetLatency(uint32_t FLASH_Latency);
(+) void FLASH_HalfCycleAccessCmd(uint32_t FLASH_HalfCycleAccess);
(+) void FLASH_PrefetchBufferCmd(FunctionalState NewState);
[..] The unlock sequence is not needed for these functions.
Function Documentation
| void FLASH_HalfCycleAccessCmd | ( | FunctionalState | NewState ) |
Enables or disables the Half cycle flash access.
- Parameters:
-
FLASH_HalfCycleAccess,: specifies the FLASH Half cycle Access mode. This parameter can be one of the following values: - FLASH_HalfCycleAccess_Enable: FLASH Half Cycle Enable
- FLASH_HalfCycleAccess_Disable: FLASH Half Cycle Disable
- Return values:
-
None
Definition at line 156 of file stm32f30x_flash.c.
| void FLASH_PrefetchBufferCmd | ( | FunctionalState | NewState ) |
Enables or disables the Prefetch Buffer.
- Parameters:
-
NewState,: new state of the Prefetch Buffer. This parameter can be: ENABLE or DISABLE.
- Return values:
-
None
Definition at line 177 of file stm32f30x_flash.c.
| void FLASH_SetLatency | ( | uint32_t | FLASH_Latency ) |
Sets the code latency value.
- Parameters:
-
FLASH_Latency,: specifies the FLASH Latency value. This parameter can be one of the following values: - FLASH_Latency_0: FLASH Zero Latency cycle
- FLASH_Latency_1: FLASH One Latency cycle
- FLASH_Latency_2: FLASH Two Latency cycles
- Return values:
-
None
Definition at line 130 of file stm32f30x_flash.c.
Generated on Tue Jul 12 2022 17:34:45 by
1.7.2