STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for FLASH:

Functions

__STATIC_INLINE void LL_FLASH_SetLatency (uint32_t Latency)
 Set FLASH Latency @rmtoll FLASH_ACR LATENCY LL_FLASH_SetLatency. More...
 
__STATIC_INLINE uint32_t LL_FLASH_GetLatency (void)
 Get FLASH Latency @rmtoll FLASH_ACR LATENCY LL_FLASH_GetLatency. More...
 
__STATIC_INLINE void LL_FLASH_EnablePrefetch (void)
 Enable Prefetch @rmtoll FLASH_ACR PRFTEN LL_FLASH_EnablePrefetch. More...
 
__STATIC_INLINE void LL_FLASH_DisablePrefetch (void)
 Disable Prefetch @rmtoll FLASH_ACR PRFTEN LL_FLASH_DisablePrefetch. More...
 
__STATIC_INLINE uint32_t LL_FLASH_IsPrefetchEnabled (void)
 Check if Prefetch buffer is enabled @rmtoll FLASH_ACR PRFTEN LL_FLASH_IsPrefetchEnabled. More...
 
__STATIC_INLINE void LL_FLASH_EnableInstCache (void)
 Enable Instruction cache @rmtoll FLASH_ACR ICEN LL_FLASH_EnableInstCache. More...
 
__STATIC_INLINE void LL_FLASH_DisableInstCache (void)
 Disable Instruction cache @rmtoll FLASH_ACR ICEN LL_FLASH_DisableInstCache. More...
 
__STATIC_INLINE void LL_FLASH_EnableDataCache (void)
 Enable Data cache @rmtoll FLASH_ACR DCEN LL_FLASH_EnableDataCache. More...
 
__STATIC_INLINE void LL_FLASH_DisableDataCache (void)
 Disable Data cache @rmtoll FLASH_ACR DCEN LL_FLASH_DisableDataCache. More...
 
__STATIC_INLINE void LL_FLASH_EnableInstCacheReset (void)
 Enable Instruction cache reset. More...
 
__STATIC_INLINE void LL_FLASH_DisableInstCacheReset (void)
 Disable Instruction cache reset @rmtoll FLASH_ACR ICRST LL_FLASH_DisableInstCacheReset. More...
 
__STATIC_INLINE void LL_FLASH_EnableDataCacheReset (void)
 Enable Data cache reset. More...
 
__STATIC_INLINE void LL_FLASH_DisableDataCacheReset (void)
 Disable Data cache reset @rmtoll FLASH_ACR DCRST LL_FLASH_DisableDataCacheReset. More...
 

Detailed Description

Function Documentation

◆ LL_FLASH_DisableDataCache()

__STATIC_INLINE void LL_FLASH_DisableDataCache ( void  )

Disable Data cache @rmtoll FLASH_ACR DCEN LL_FLASH_DisableDataCache.

Return values
None

Definition at line 1639 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_DisableDataCacheReset()

__STATIC_INLINE void LL_FLASH_DisableDataCacheReset ( void  )

Disable Data cache reset @rmtoll FLASH_ACR DCRST LL_FLASH_DisableDataCacheReset.

Return values
None

Definition at line 1681 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_DisableInstCache()

__STATIC_INLINE void LL_FLASH_DisableInstCache ( void  )

Disable Instruction cache @rmtoll FLASH_ACR ICEN LL_FLASH_DisableInstCache.

Return values
None

Definition at line 1619 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_DisableInstCacheReset()

__STATIC_INLINE void LL_FLASH_DisableInstCacheReset ( void  )

Disable Instruction cache reset @rmtoll FLASH_ACR ICRST LL_FLASH_DisableInstCacheReset.

Return values
None

Definition at line 1660 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_DisablePrefetch()

__STATIC_INLINE void LL_FLASH_DisablePrefetch ( void  )

Disable Prefetch @rmtoll FLASH_ACR PRFTEN LL_FLASH_DisablePrefetch.

Return values
None

Definition at line 1589 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_EnableDataCache()

__STATIC_INLINE void LL_FLASH_EnableDataCache ( void  )

Enable Data cache @rmtoll FLASH_ACR DCEN LL_FLASH_EnableDataCache.

Return values
None

Definition at line 1629 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_EnableDataCacheReset()

__STATIC_INLINE void LL_FLASH_EnableDataCacheReset ( void  )

Enable Data cache reset.

Note
bit can be written only when the data cache is disabled @rmtoll FLASH_ACR DCRST LL_FLASH_EnableDataCacheReset
Return values
None

Definition at line 1671 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_EnableInstCache()

__STATIC_INLINE void LL_FLASH_EnableInstCache ( void  )

Enable Instruction cache @rmtoll FLASH_ACR ICEN LL_FLASH_EnableInstCache.

Return values
None

Definition at line 1609 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_EnableInstCacheReset()

__STATIC_INLINE void LL_FLASH_EnableInstCacheReset ( void  )

Enable Instruction cache reset.

Note
bit can be written only when the instruction cache is disabled @rmtoll FLASH_ACR ICRST LL_FLASH_EnableInstCacheReset
Return values
None

Definition at line 1650 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_EnablePrefetch()

__STATIC_INLINE void LL_FLASH_EnablePrefetch ( void  )

Enable Prefetch @rmtoll FLASH_ACR PRFTEN LL_FLASH_EnablePrefetch.

Return values
None

Definition at line 1579 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_GetLatency()

__STATIC_INLINE uint32_t LL_FLASH_GetLatency ( void  )

Get FLASH Latency @rmtoll FLASH_ACR LATENCY LL_FLASH_GetLatency.

Return values
Returnedvalue 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
  • LL_FLASH_LATENCY_5
  • LL_FLASH_LATENCY_6
  • LL_FLASH_LATENCY_7
  • LL_FLASH_LATENCY_8
  • LL_FLASH_LATENCY_9
  • LL_FLASH_LATENCY_10
  • LL_FLASH_LATENCY_11
  • LL_FLASH_LATENCY_12
  • LL_FLASH_LATENCY_13
  • LL_FLASH_LATENCY_14
  • LL_FLASH_LATENCY_15

Definition at line 1569 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_IsPrefetchEnabled()

__STATIC_INLINE uint32_t LL_FLASH_IsPrefetchEnabled ( void  )

Check if Prefetch buffer is enabled @rmtoll FLASH_ACR PRFTEN LL_FLASH_IsPrefetchEnabled.

Return values
Stateof bit (1 or 0).

Definition at line 1599 of file stm32f4xx_ll_system.h.

◆ LL_FLASH_SetLatency()

__STATIC_INLINE void LL_FLASH_SetLatency ( uint32_t  Latency)

Set FLASH Latency @rmtoll FLASH_ACR LATENCY LL_FLASH_SetLatency.

Parameters
LatencyThis 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
  • LL_FLASH_LATENCY_5
  • LL_FLASH_LATENCY_6
  • LL_FLASH_LATENCY_7
  • LL_FLASH_LATENCY_8
  • LL_FLASH_LATENCY_9
  • LL_FLASH_LATENCY_10
  • LL_FLASH_LATENCY_11
  • LL_FLASH_LATENCY_12
  • LL_FLASH_LATENCY_13
  • LL_FLASH_LATENCY_14
  • LL_FLASH_LATENCY_15
Return values
None

Definition at line 1543 of file stm32f4xx_ll_system.h.