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.
FLASH
[SYSTEM Exported Functions]
Functions | |
__STATIC_INLINE void | LL_FLASH_SetLatency (uint32_t Latency) |
Set FLASH Latency FLASH_ACR LATENCY LL_FLASH_SetLatency. | |
__STATIC_INLINE uint32_t | LL_FLASH_GetLatency (void) |
Get FLASH Latency FLASH_ACR LATENCY LL_FLASH_GetLatency. | |
__STATIC_INLINE void | LL_FLASH_EnablePrefetch (void) |
Enable Prefetch FLASH_ACR PRFTEN LL_FLASH_EnablePrefetch. | |
__STATIC_INLINE void | LL_FLASH_DisablePrefetch (void) |
Disable Prefetch FLASH_ACR PRFTEN LL_FLASH_DisablePrefetch. | |
__STATIC_INLINE uint32_t | LL_FLASH_IsPrefetchEnabled (void) |
Check if Prefetch buffer is enabled FLASH_ACR PRFTEN LL_FLASH_IsPrefetchEnabled. | |
__STATIC_INLINE void | LL_FLASH_EnableInstCache (void) |
Enable Instruction cache FLASH_ACR ICEN LL_FLASH_EnableInstCache. | |
__STATIC_INLINE void | LL_FLASH_DisableInstCache (void) |
Disable Instruction cache FLASH_ACR ICEN LL_FLASH_DisableInstCache. | |
__STATIC_INLINE void | LL_FLASH_EnableDataCache (void) |
Enable Data cache FLASH_ACR DCEN LL_FLASH_EnableDataCache. | |
__STATIC_INLINE void | LL_FLASH_DisableDataCache (void) |
Disable Data cache FLASH_ACR DCEN LL_FLASH_DisableDataCache. | |
__STATIC_INLINE void | LL_FLASH_EnableInstCacheReset (void) |
Enable Instruction cache reset. | |
__STATIC_INLINE void | LL_FLASH_DisableInstCacheReset (void) |
Disable Instruction cache reset FLASH_ACR ICRST LL_FLASH_DisableInstCacheReset. | |
__STATIC_INLINE void | LL_FLASH_EnableDataCacheReset (void) |
Enable Data cache reset. | |
__STATIC_INLINE void | LL_FLASH_DisableDataCacheReset (void) |
Disable Data cache reset FLASH_ACR DCRST LL_FLASH_DisableDataCacheReset. | |
__STATIC_INLINE void | LL_FLASH_EnableRunPowerDown (void) |
Enable Flash Power-down mode during run mode or Low-power run mode. | |
__STATIC_INLINE void | LL_FLASH_DisableRunPowerDown (void) |
Disable Flash Power-down mode during run mode or Low-power run mode FLASH_ACR RUN_PD LL_FLASH_DisableRunPowerDown FLASH_PDKEYR PDKEY1 LL_FLASH_DisableRunPowerDown FLASH_PDKEYR PDKEY2 LL_FLASH_DisableRunPowerDown. | |
__STATIC_INLINE void | LL_FLASH_EnableSleepPowerDown (void) |
Enable Flash Power-down mode during Sleep or Low-power sleep mode. | |
__STATIC_INLINE void | LL_FLASH_DisableSleepPowerDown (void) |
Disable Flash Power-down mode during Sleep or Low-power sleep mode FLASH_ACR SLEEP_PD LL_FLASH_DisableSleepPowerDown. |
Function Documentation
__STATIC_INLINE void LL_FLASH_DisableDataCache | ( | void | ) |
Disable Data cache FLASH_ACR DCEN LL_FLASH_DisableDataCache.
- Return values:
-
None
Definition at line 1375 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_DisableDataCacheReset | ( | void | ) |
Disable Data cache reset FLASH_ACR DCRST LL_FLASH_DisableDataCacheReset.
- Return values:
-
None
Definition at line 1417 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_DisableInstCache | ( | void | ) |
Disable Instruction cache FLASH_ACR ICEN LL_FLASH_DisableInstCache.
- Return values:
-
None
Definition at line 1355 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_DisableInstCacheReset | ( | void | ) |
Disable Instruction cache reset FLASH_ACR ICRST LL_FLASH_DisableInstCacheReset.
- Return values:
-
None
Definition at line 1396 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_DisablePrefetch | ( | void | ) |
Disable Prefetch FLASH_ACR PRFTEN LL_FLASH_DisablePrefetch.
- Return values:
-
None
Definition at line 1325 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_DisableRunPowerDown | ( | void | ) |
Disable Flash Power-down mode during run mode or Low-power run mode FLASH_ACR RUN_PD LL_FLASH_DisableRunPowerDown
FLASH_PDKEYR PDKEY1 LL_FLASH_DisableRunPowerDown
FLASH_PDKEYR PDKEY2 LL_FLASH_DisableRunPowerDown.
- Return values:
-
None
Definition at line 1450 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_DisableSleepPowerDown | ( | void | ) |
Disable Flash Power-down mode during Sleep or Low-power sleep mode FLASH_ACR SLEEP_PD LL_FLASH_DisableSleepPowerDown.
- Return values:
-
None
Definition at line 1476 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_EnableDataCache | ( | void | ) |
Enable Data cache FLASH_ACR DCEN LL_FLASH_EnableDataCache.
- Return values:
-
None
Definition at line 1365 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_EnableDataCacheReset | ( | void | ) |
Enable Data cache reset.
- Note:
- bit can be written only when the data cache is disabled FLASH_ACR DCRST LL_FLASH_EnableDataCacheReset
- Return values:
-
None
Definition at line 1407 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_EnableInstCache | ( | void | ) |
Enable Instruction cache FLASH_ACR ICEN LL_FLASH_EnableInstCache.
- Return values:
-
None
Definition at line 1345 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_EnableInstCacheReset | ( | void | ) |
Enable Instruction cache reset.
- Note:
- bit can be written only when the instruction cache is disabled FLASH_ACR ICRST LL_FLASH_EnableInstCacheReset
- Return values:
-
None
Definition at line 1386 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_EnablePrefetch | ( | void | ) |
Enable Prefetch FLASH_ACR PRFTEN LL_FLASH_EnablePrefetch.
- Return values:
-
None
Definition at line 1315 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_EnableRunPowerDown | ( | void | ) |
Enable Flash Power-down mode during run mode or Low-power run mode.
- Note:
- Flash memory can be put in power-down mode only when the code is executed from RAM
- Flash must not be accessed when power down is enabled
-
Flash must not be put in power-down while a program or an erase operation is on-going FLASH_ACR RUN_PD LL_FLASH_EnableRunPowerDown
FLASH_PDKEYR PDKEY1 LL_FLASH_EnableRunPowerDown
FLASH_PDKEYR PDKEY2 LL_FLASH_EnableRunPowerDown
- Return values:
-
None
Definition at line 1434 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_EnableSleepPowerDown | ( | void | ) |
Enable Flash Power-down mode during Sleep or Low-power sleep mode.
- Note:
- Flash must not be put in power-down while a program or an erase operation is on-going FLASH_ACR SLEEP_PD LL_FLASH_EnableSleepPowerDown
- Return values:
-
None
Definition at line 1466 of file stm32l4xx_ll_system.h.
__STATIC_INLINE uint32_t LL_FLASH_GetLatency | ( | void | ) |
Get FLASH Latency FLASH_ACR LATENCY LL_FLASH_GetLatency.
- Return values:
-
Returned value can be one of the following values: - LL_FLASH_LATENCY_0
- LL_FLASH_LATENCY_1
- LL_FLASH_LATENCY_2
- LL_FLASH_LATENCY_3
- LL_FLASH_LATENCY_4
Definition at line 1305 of file stm32l4xx_ll_system.h.
__STATIC_INLINE uint32_t LL_FLASH_IsPrefetchEnabled | ( | void | ) |
Check if Prefetch buffer is enabled FLASH_ACR PRFTEN LL_FLASH_IsPrefetchEnabled.
- Return values:
-
State of bit (1 or 0).
Definition at line 1335 of file stm32l4xx_ll_system.h.
__STATIC_INLINE void LL_FLASH_SetLatency | ( | uint32_t | Latency ) |
Set FLASH Latency FLASH_ACR LATENCY LL_FLASH_SetLatency.
- Parameters:
-
Latency This parameter can be one of the following values: - LL_FLASH_LATENCY_0
- LL_FLASH_LATENCY_1
- LL_FLASH_LATENCY_2
- LL_FLASH_LATENCY_3
- LL_FLASH_LATENCY_4
- Return values:
-
None
Definition at line 1290 of file stm32l4xx_ll_system.h.
Generated on Tue Jul 12 2022 11:00:16 by
