Macros
Collaboration diagram for FLASH Exported Macros:

Macros

#define __HAL_FLASH_ART_DISABLE()   CLEAR_BIT(FLASH->ACR, FLASH_ACR_ARTEN)
 Disable the FLASH Adaptive Real-Time memory accelerator. More...
 
#define __HAL_FLASH_ART_ENABLE()   SET_BIT(FLASH->ACR, FLASH_ACR_ARTEN)
 Enable the FLASH Adaptive Real-Time memory accelerator. More...
 
#define __HAL_FLASH_ART_RESET()   (FLASH->ACR |= FLASH_ACR_ARTRST)
 Resets the FLASH Adaptive Real-Time memory accelerator. More...
 
#define __HAL_FLASH_CALC_BOOT_BASE_ADR(__ADDRESS__)   ((__ADDRESS__) >> 14)
 Calculate the FLASH Boot Base Adress (BOOT_ADD0 or BOOT_ADD1) More...
 
#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)   (FLASH->SR = (__FLAG__))
 Clear the specified FLASH flags. More...
 
#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)   (FLASH->SR = (__FLAG__))
 Clear the specified FLASH flags. More...
 
#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)   (FLASH->SR = (__FLAG__))
 Clear the specified FLASH flags. More...
 
#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)   (FLASH->SR = (__FLAG__))
 Clear the specified FLASH flag. More...
 
#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)   __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__)
 
#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)   __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__)
 
#define __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__)   WRITE_REG(FLASH->CCR1, (__FLAG__))
 Clear the specified FLASH flag. More...
 
#define __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__)   WRITE_REG(FLASH->CCR1, (__FLAG__))
 Clear the specified FLASH flag. More...
 
#define __HAL_FLASH_CLEAR_FLAG_BANK2(__FLAG__)   WRITE_REG(FLASH->CCR2, ((__FLAG__) & 0x7FFFFFFFU))
 
#define __HAL_FLASH_CLEAR_FLAG_BANK2(__FLAG__)   WRITE_REG(FLASH->CCR2, ((__FLAG__) & 0x7FFFFFFFU))
 
#define __HAL_FLASH_DATA_CACHE_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_DCEN))
 Disable the FLASH data cache. More...
 
#define __HAL_FLASH_DATA_CACHE_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_DCEN))
 Disable the FLASH data cache. More...
 
#define __HAL_FLASH_DATA_CACHE_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_DCEN))
 Disable the FLASH data cache. More...
 
#define __HAL_FLASH_DATA_CACHE_ENABLE()   (FLASH->ACR |= FLASH_ACR_DCEN)
 Enable the FLASH data cache. More...
 
#define __HAL_FLASH_DATA_CACHE_ENABLE()   (FLASH->ACR |= FLASH_ACR_DCEN)
 Enable the FLASH data cache. More...
 
#define __HAL_FLASH_DATA_CACHE_ENABLE()   (FLASH->ACR |= FLASH_ACR_DCEN)
 Enable the FLASH data cache. More...
 
#define __HAL_FLASH_DATA_CACHE_RESET()
 Resets the FLASH data Cache. More...
 
#define __HAL_FLASH_DATA_CACHE_RESET()
 Resets the FLASH data Cache. More...
 
#define __HAL_FLASH_DATA_CACHE_RESET()
 Resets the FLASH data Cache. More...
 
#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)   (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))
 Disable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)   (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))
 Disable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)   (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))
 Disable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)   (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))
 Disable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)   __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__)
 
#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)   __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__)
 
#define __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__)   (FLASH->CR1 &= ~(uint32_t)(__INTERRUPT__))
 Disable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__)   (FLASH->CR1 &= ~(uint32_t)(__INTERRUPT__))
 Disable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_DISABLE_IT_BANK2(__INTERRUPT__)   (FLASH->CR2 &= ~(uint32_t)((__INTERRUPT__) & 0x7FFFFFFFU))
 
#define __HAL_FLASH_DISABLE_IT_BANK2(__INTERRUPT__)   (FLASH->CR2 &= ~(uint32_t)((__INTERRUPT__) & 0x7FFFFFFFU))
 
#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)   (FLASH->CR |= (__INTERRUPT__))
 Enable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)   (FLASH->CR |= (__INTERRUPT__))
 Enable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)   (FLASH->CR |= (__INTERRUPT__))
 Enable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)   (FLASH->CR |= (__INTERRUPT__))
 Enable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)   __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__)
 
#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)   __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__)
 
#define __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__)   (FLASH->CR1 |= (__INTERRUPT__))
 Enable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__)   (FLASH->CR1 |= (__INTERRUPT__))
 Enable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_ENABLE_IT_BANK2(__INTERRUPT__)   (FLASH->CR2 |= ((__INTERRUPT__) & 0x7FFFFFFFU))
 
#define __HAL_FLASH_ENABLE_IT_BANK2(__INTERRUPT__)   (FLASH->CR2 |= ((__INTERRUPT__) & 0x7FFFFFFFU))
 
#define __HAL_FLASH_GET_FLAG(__FLAG__)   ((FLASH->SR & (__FLAG__)))
 Get the specified FLASH flag status. More...
 
#define __HAL_FLASH_GET_FLAG(__FLAG__)   ((FLASH->SR & (__FLAG__)))
 Get the specified FLASH flag status. More...
 
#define __HAL_FLASH_GET_FLAG(__FLAG__)   ((FLASH->SR & (__FLAG__)))
 Get the specified FLASH flag status. More...
 
#define __HAL_FLASH_GET_FLAG(__FLAG__)   ((FLASH->SR & (__FLAG__)))
 Get the specified FLASH flag status. More...
 
#define __HAL_FLASH_GET_FLAG(__FLAG__)   __HAL_FLASH_GET_FLAG_BANK1(__FLAG__)
 
#define __HAL_FLASH_GET_FLAG(__FLAG__)   __HAL_FLASH_GET_FLAG_BANK1(__FLAG__)
 
#define __HAL_FLASH_GET_FLAG_BANK1(__FLAG__)   (READ_BIT(FLASH->SR1, (__FLAG__)) == (__FLAG__))
 Checks whether the specified FLASH flag is set or not. More...
 
#define __HAL_FLASH_GET_FLAG_BANK1(__FLAG__)   (READ_BIT(FLASH->SR1, (__FLAG__)) == (__FLAG__))
 Checks whether the specified FLASH flag is set or not. More...
 
#define __HAL_FLASH_GET_FLAG_BANK2(__FLAG__)   (READ_BIT(FLASH->SR2, ((__FLAG__) & 0x7FFFFFFFU)) == (((__FLAG__) & 0x7FFFFFFFU)))
 
#define __HAL_FLASH_GET_FLAG_BANK2(__FLAG__)   (READ_BIT(FLASH->SR2, ((__FLAG__) & 0x7FFFFFFFU)) == (((__FLAG__) & 0x7FFFFFFFU)))
 
#define __HAL_FLASH_GET_LATENCY()   (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
 Get the FLASH Latency. More...
 
#define __HAL_FLASH_GET_LATENCY()   (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
 Get the FLASH Latency. More...
 
#define __HAL_FLASH_GET_LATENCY()   (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
 Get the FLASH Latency. More...
 
#define __HAL_FLASH_GET_LATENCY()   (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
 Get the FLASH Latency. More...
 
#define __HAL_FLASH_GET_LATENCY()   (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
 Get the FLASH Latency. More...
 
#define __HAL_FLASH_GET_LATENCY()   (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
 Get the FLASH Latency. More...
 
#define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_ICEN))
 Disable the FLASH instruction cache. More...
 
#define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_ICEN))
 Disable the FLASH instruction cache. More...
 
#define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_ICEN))
 Disable the FLASH instruction cache. More...
 
#define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE()   (FLASH->ACR |= FLASH_ACR_ICEN)
 Enable the FLASH instruction cache. More...
 
#define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE()   (FLASH->ACR |= FLASH_ACR_ICEN)
 Enable the FLASH instruction cache. More...
 
#define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE()   (FLASH->ACR |= FLASH_ACR_ICEN)
 Enable the FLASH instruction cache. More...
 
#define __HAL_FLASH_INSTRUCTION_CACHE_RESET()
 Resets the FLASH instruction Cache. More...
 
#define __HAL_FLASH_INSTRUCTION_CACHE_RESET()
 Resets the FLASH instruction Cache. More...
 
#define __HAL_FLASH_INSTRUCTION_CACHE_RESET()
 Resets the FLASH instruction Cache. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_PRFTEN))
 Disable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_PRFTEN))
 Disable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_PRFTEN))
 Disable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_PRFTEN))
 Disable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE()   (FLASH->ACR |= FLASH_ACR_PRFTEN)
 Enable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE()   (FLASH->ACR |= FLASH_ACR_PRFTEN)
 Enable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE()   (FLASH->ACR |= FLASH_ACR_PRFTEN)
 Enable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE()   (FLASH->ACR |= FLASH_ACR_PRFTEN)
 Enable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_SET_LATENCY(__LATENCY__)   (*(__IO uint8_t *)ACR_BYTE0_ADDRESS = (uint8_t)(__LATENCY__))
 Set the FLASH Latency. More...
 
#define __HAL_FLASH_SET_LATENCY(__LATENCY__)   (*(__IO uint8_t *)ACR_BYTE0_ADDRESS = (uint8_t)(__LATENCY__))
 Set the FLASH Latency. More...
 
#define __HAL_FLASH_SET_LATENCY(__LATENCY__)   (*(__IO uint8_t *)ACR_BYTE0_ADDRESS = (uint8_t)(__LATENCY__))
 Set the FLASH Latency. More...
 
#define __HAL_FLASH_SET_LATENCY(__LATENCY__)   MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))
 Set the FLASH Latency. More...
 
#define __HAL_FLASH_SET_LATENCY(__LATENCY__)   MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))
 Set the FLASH Latency. More...
 
#define __HAL_FLASH_SET_LATENCY(__LATENCY__)   MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))
 Set the FLASH Latency. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_FLASH_ART_DISABLE

#define __HAL_FLASH_ART_DISABLE ( )    CLEAR_BIT(FLASH->ACR, FLASH_ACR_ARTEN)

Disable the FLASH Adaptive Real-Time memory accelerator.

Return values
none

Definition at line 241 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_ART_ENABLE

#define __HAL_FLASH_ART_ENABLE ( )    SET_BIT(FLASH->ACR, FLASH_ACR_ARTEN)

Enable the FLASH Adaptive Real-Time memory accelerator.

Note
The ART accelerator is available only for flash access on ITCM interface.
Return values
none

Definition at line 235 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_ART_RESET

#define __HAL_FLASH_ART_RESET ( )    (FLASH->ACR |= FLASH_ACR_ARTRST)

Resets the FLASH Adaptive Real-Time memory accelerator.

Note
This function must be used only when the Adaptive Real-Time memory accelerator is disabled.
Return values
None

Definition at line 249 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_CALC_BOOT_BASE_ADR

#define __HAL_FLASH_CALC_BOOT_BASE_ADR (   __ADDRESS__)    ((__ADDRESS__) >> 14)

Calculate the FLASH Boot Base Adress (BOOT_ADD0 or BOOT_ADD1)

Note
Returned value BOOT_ADDx[15:0] corresponds to boot address [29:14].
Parameters
<strong>ADDRESS</strong>FLASH Boot Address (in the range 0x0000 0000 to 0x2004 FFFF with a granularity of 16KB)
Return values
TheFLASH Boot Base Adress

Definition at line 510 of file stm32f7xx_hal_flash_ex.h.

◆ __HAL_FLASH_CLEAR_FLAG [1/6]

#define __HAL_FLASH_CLEAR_FLAG (   __FLAG__)    (FLASH->SR = (__FLAG__))

Clear the specified FLASH flags.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to clear. This parameter can be any combination of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_PGSERR: FLASH Programming Sequence error flag
  • FLASH_FLAG_RDERR : FLASH Read Protection error flag (PCROP) (*) (*) FLASH_FLAG_RDERR is not available for STM32F405xx/407xx/415xx/417xx devices
Return values
none

Definition at line 291 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_CLEAR_FLAG [2/6]

#define __HAL_FLASH_CLEAR_FLAG (   __FLAG__)    (FLASH->SR = (__FLAG__))

Clear the specified FLASH flags.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to clear. This parameter can be any combination of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_PGSERR: FLASH Programming Sequence error flag
  • FLASH_FLAG_RDERR : FLASH Read Protection error flag (PCROP) (*) (*) FLASH_FLAG_RDERR is not available for STM32F405xx/407xx/415xx/417xx devices
Return values
none

Definition at line 291 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_CLEAR_FLAG [3/6]

#define __HAL_FLASH_CLEAR_FLAG (   __FLAG__)    (FLASH->SR = (__FLAG__))

Clear the specified FLASH flags.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to clear. This parameter can be any combination of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_PGSERR: FLASH Programming Sequence error flag
  • FLASH_FLAG_RDERR : FLASH Read Protection error flag (PCROP) (*) (*) FLASH_FLAG_RDERR is not available for STM32F405xx/407xx/415xx/417xx devices
Return values
none

Definition at line 291 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_CLEAR_FLAG [4/6]

#define __HAL_FLASH_CLEAR_FLAG (   __FLAG__)    (FLASH->SR = (__FLAG__))

Clear the specified FLASH flag.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to clear. This parameter can be any combination of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_ERSERR : FLASH Erasing Sequence error flag
Return values
none

Definition at line 298 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_CLEAR_FLAG [5/6]

#define __HAL_FLASH_CLEAR_FLAG (   __FLAG__)    __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__)

◆ __HAL_FLASH_CLEAR_FLAG [6/6]

#define __HAL_FLASH_CLEAR_FLAG (   __FLAG__)    __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__)

◆ __HAL_FLASH_CLEAR_FLAG_BANK1 [1/2]

#define __HAL_FLASH_CLEAR_FLAG_BANK1 (   __FLAG__)    WRITE_REG(FLASH->CCR1, (__FLAG__))

Clear the specified FLASH flag.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to clear. In case of Bank 1, this parameter can be any combination of the following values:
  • FLASH_FLAG_EOP_BANK1 : End Of Program on Bank 1 flag
  • FLASH_FLAG_WRPERR_BANK1 : Write Protection Error on Bank 1 flag
  • FLASH_FLAG_PGSERR_BANK1 : Program Sequence Error on Bank 1 flag
  • FLASH_FLAG_STRBER_BANK1 : Program Alignment Error on Bank 1 flag
  • FLASH_FLAG_INCERR_BANK1 : Inconsistency Error on Bank 1 flag
  • FLASH_FLAG_OPERR_BANK1 : Operation Error on Bank 1 flag
  • FLASH_FLAG_RDPERR_BANK1 : Read Protection Error on Bank 1 flag
  • FLASH_FLAG_RDSERR_BANK1 : Read secure Error on Bank 1 flag
  • FLASH_FLAG_SNECCE_BANK1 : Single ECC Error Correction on Bank 1 flag
  • FLASH_FLAG_DBECCE_BANK1 : Double Detection ECC Error on Bank 1 flag
  • FLASH_FLAG_CRCEND_BANK1 : CRC End on Bank 1 flag
  • FLASH_FLAG_CRCRDERR_BANK1 : CRC Read error on Bank 1 flag
  • FLASH_FLAG_ALL_ERRORS_BANK1 : All Bank 1 error flags
  • FLASH_FLAG_ALL_BANK1 : All Bank 1 flags
In case of Bank 2, this parameter can be any combination of the following values :
  • FLASH_FLAG_EOP_BANK2 : End Of Program on Bank 2 flag
  • FLASH_FLAG_WRPERR_BANK2 : Write Protection Error on Bank 2 flag
  • FLASH_FLAG_PGSERR_BANK2 : Program Sequence Error on Bank 2 flag
  • FLASH_FLAG_STRBER_BANK2 : Program Alignment Error on Bank 2 flag
  • FLASH_FLAG_INCERR_BANK2 : Inconsistency Error on Bank 2 flag
  • FLASH_FLAG_OPERR_BANK2 : Operation Error on Bank 2 flag
  • FLASH_FLAG_RDPERR_BANK2 : Read Protection Error on Bank 2 flag
  • FLASH_FLAG_RDSERR_BANK2 : Read secure Error on Bank 2 flag
  • FLASH_FLAG_SNECCE_BANK2 : Single ECC Error Correction on Bank 2 flag
  • FLASH_FLAG_DBECCE_BANK2 : Double Detection ECC Error on Bank 2 flag
  • FLASH_FLAG_CRCEND_BANK2 : CRC End on Bank 2 flag
  • FLASH_FLAG_CRCRDERR_BANK2 : CRC Read error on Bank 2 flag
  • FLASH_FLAG_ALL_ERRORS_BANK2 : All Bank 2 error flags
  • FLASH_FLAG_ALL_BANK2 : All Bank 2 flags
Return values
none

Definition at line 693 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_CLEAR_FLAG_BANK1 [2/2]

#define __HAL_FLASH_CLEAR_FLAG_BANK1 (   __FLAG__)    WRITE_REG(FLASH->CCR1, (__FLAG__))

Clear the specified FLASH flag.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to clear. In case of Bank 1, this parameter can be any combination of the following values:
  • FLASH_FLAG_EOP_BANK1 : End Of Program on Bank 1 flag
  • FLASH_FLAG_WRPERR_BANK1 : Write Protection Error on Bank 1 flag
  • FLASH_FLAG_PGSERR_BANK1 : Program Sequence Error on Bank 1 flag
  • FLASH_FLAG_STRBER_BANK1 : Program Alignment Error on Bank 1 flag
  • FLASH_FLAG_INCERR_BANK1 : Inconsistency Error on Bank 1 flag
  • FLASH_FLAG_OPERR_BANK1 : Operation Error on Bank 1 flag
  • FLASH_FLAG_RDPERR_BANK1 : Read Protection Error on Bank 1 flag
  • FLASH_FLAG_RDSERR_BANK1 : Read secure Error on Bank 1 flag
  • FLASH_FLAG_SNECCE_BANK1 : Single ECC Error Correction on Bank 1 flag
  • FLASH_FLAG_DBECCE_BANK1 : Double Detection ECC Error on Bank 1 flag
  • FLASH_FLAG_CRCEND_BANK1 : CRC End on Bank 1 flag
  • FLASH_FLAG_CRCRDERR_BANK1 : CRC Read error on Bank 1 flag
  • FLASH_FLAG_ALL_ERRORS_BANK1 : All Bank 1 error flags
  • FLASH_FLAG_ALL_BANK1 : All Bank 1 flags
In case of Bank 2, this parameter can be any combination of the following values :
  • FLASH_FLAG_EOP_BANK2 : End Of Program on Bank 2 flag
  • FLASH_FLAG_WRPERR_BANK2 : Write Protection Error on Bank 2 flag
  • FLASH_FLAG_PGSERR_BANK2 : Program Sequence Error on Bank 2 flag
  • FLASH_FLAG_STRBER_BANK2 : Program Alignment Error on Bank 2 flag
  • FLASH_FLAG_INCERR_BANK2 : Inconsistency Error on Bank 2 flag
  • FLASH_FLAG_OPERR_BANK2 : Operation Error on Bank 2 flag
  • FLASH_FLAG_RDPERR_BANK2 : Read Protection Error on Bank 2 flag
  • FLASH_FLAG_RDSERR_BANK2 : Read secure Error on Bank 2 flag
  • FLASH_FLAG_SNECCE_BANK2 : Single ECC Error Correction on Bank 2 flag
  • FLASH_FLAG_DBECCE_BANK2 : Double Detection ECC Error on Bank 2 flag
  • FLASH_FLAG_CRCEND_BANK2 : CRC End on Bank 2 flag
  • FLASH_FLAG_CRCRDERR_BANK2 : CRC Read error on Bank 2 flag
  • FLASH_FLAG_ALL_ERRORS_BANK2 : All Bank 2 error flags
  • FLASH_FLAG_ALL_BANK2 : All Bank 2 flags
Return values
none

Definition at line 693 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_CLEAR_FLAG_BANK2 [1/2]

#define __HAL_FLASH_CLEAR_FLAG_BANK2 (   __FLAG__)    WRITE_REG(FLASH->CCR2, ((__FLAG__) & 0x7FFFFFFFU))

◆ __HAL_FLASH_CLEAR_FLAG_BANK2 [2/2]

#define __HAL_FLASH_CLEAR_FLAG_BANK2 (   __FLAG__)    WRITE_REG(FLASH->CCR2, ((__FLAG__) & 0x7FFFFFFFU))

◆ __HAL_FLASH_DATA_CACHE_DISABLE [1/3]

#define __HAL_FLASH_DATA_CACHE_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_DCEN))

Disable the FLASH data cache.

Return values
none

Definition at line 221 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DATA_CACHE_DISABLE [2/3]

#define __HAL_FLASH_DATA_CACHE_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_DCEN))

Disable the FLASH data cache.

Return values
none

Definition at line 221 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DATA_CACHE_DISABLE [3/3]

#define __HAL_FLASH_DATA_CACHE_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_DCEN))

Disable the FLASH data cache.

Return values
none

Definition at line 221 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DATA_CACHE_ENABLE [1/3]

#define __HAL_FLASH_DATA_CACHE_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_DCEN)

Enable the FLASH data cache.

Return values
none

Definition at line 215 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DATA_CACHE_ENABLE [2/3]

#define __HAL_FLASH_DATA_CACHE_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_DCEN)

Enable the FLASH data cache.

Return values
none

Definition at line 215 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DATA_CACHE_ENABLE [3/3]

#define __HAL_FLASH_DATA_CACHE_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_DCEN)

Enable the FLASH data cache.

Return values
none

Definition at line 215 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DATA_CACHE_RESET [1/3]

#define __HAL_FLASH_DATA_CACHE_RESET ( )
Value:
do {FLASH->ACR |= FLASH_ACR_DCRST; \
FLASH->ACR &= ~FLASH_ACR_DCRST; \
}while(0U)

Resets the FLASH data Cache.

Note
This function must be used only when the data Cache is disabled.
Return values
None

Definition at line 237 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DATA_CACHE_RESET [2/3]

#define __HAL_FLASH_DATA_CACHE_RESET ( )
Value:
do {FLASH->ACR |= FLASH_ACR_DCRST; \
FLASH->ACR &= ~FLASH_ACR_DCRST; \
}while(0U)

Resets the FLASH data Cache.

Note
This function must be used only when the data Cache is disabled.
Return values
None

Definition at line 237 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DATA_CACHE_RESET [3/3]

#define __HAL_FLASH_DATA_CACHE_RESET ( )
Value:
do {FLASH->ACR |= FLASH_ACR_DCRST; \
FLASH->ACR &= ~FLASH_ACR_DCRST; \
}while(0U)

Resets the FLASH data Cache.

Note
This function must be used only when the data Cache is disabled.
Return values
None

Definition at line 237 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DISABLE_IT [1/6]

#define __HAL_FLASH_DISABLE_IT (   __INTERRUPT__)    (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))

Disable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 258 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DISABLE_IT [2/6]

#define __HAL_FLASH_DISABLE_IT (   __INTERRUPT__)    (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))

Disable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 258 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DISABLE_IT [3/6]

#define __HAL_FLASH_DISABLE_IT (   __INTERRUPT__)    (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))

Disable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 258 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_DISABLE_IT [4/6]

#define __HAL_FLASH_DISABLE_IT (   __INTERRUPT__)    (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))

Disable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 269 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_DISABLE_IT [5/6]

#define __HAL_FLASH_DISABLE_IT (   __INTERRUPT__)    __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__)

◆ __HAL_FLASH_DISABLE_IT [6/6]

#define __HAL_FLASH_DISABLE_IT (   __INTERRUPT__)    __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__)

◆ __HAL_FLASH_DISABLE_IT_BANK1 [1/2]

#define __HAL_FLASH_DISABLE_IT_BANK1 (   __INTERRUPT__)    (FLASH->CR1 &= ~(uint32_t)(__INTERRUPT__))

Disable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>: FLASH interrupt In case of Bank 1 This parameter can be any combination of the following values:
  • FLASH_IT_EOP_BANK1 : End of FLASH Bank 1 Operation Interrupt source
  • FLASH_IT_WRPERR_BANK1 : Write Protection Error on Bank 1 Interrupt source
  • FLASH_IT_PGSERR_BANK1 : Program Sequence Error on Bank 1 Interrupt source
  • FLASH_IT_STRBERR_BANK1 : Strobe Error on Bank 1 Interrupt source
  • FLASH_IT_INCERR_BANK1 : Inconsistency Error on Bank 1 Interrupt source
  • FLASH_IT_OPERR_BANK1 : Operation Error on Bank 1 Interrupt source
  • FLASH_IT_RDPERR_BANK1 : Read protection Error on Bank 1 Interrupt source
  • FLASH_IT_RDSERR_BANK1 : Read secure Error on Bank 1 Interrupt source
  • FLASH_IT_SNECCERR_BANK1 : Single ECC Error Correction on Bank 1 Interrupt source
  • FLASH_IT_DBECCERR_BANK1 : Double Detection ECC Error on Bank 1 Interrupt source
  • FLASH_IT_CRCEND_BANK1 : CRC End on Bank 1 Interrupt source
  • FLASH_IT_CRCRDERR_BANK1 : CRC Read error on Bank 1 Interrupt source
  • FLASH_IT_ALL_BANK1 : All Bank 1 Interrupt sources
In case of Bank 2, this parameter can be any combination of the following values:
  • FLASH_IT_EOP_BANK2 : End of FLASH Bank 2 Operation Interrupt source
  • FLASH_IT_WRPERR_BANK2 : Write Protection Error on Bank 2 Interrupt source
  • FLASH_IT_PGSERR_BANK2 : Program Sequence Error on Bank 2 Interrupt source
  • FLASH_IT_STRBERR_BANK2 : Strobe Error on Bank 2 Interrupt source
  • FLASH_IT_INCERR_BANK2 : Inconsistency Error on Bank 2 Interrupt source
  • FLASH_IT_OPERR_BANK2 : Operation Error on Bank 2 Interrupt source
  • FLASH_IT_RDPERR_BANK2 : Read protection Error on Bank 2 Interrupt source
  • FLASH_IT_RDSERR_BANK2 : Read secure Error on Bank 2 Interrupt source
  • FLASH_IT_SNECCERR_BANK2 : Single ECC Error Correction on Bank 2 Interrupt source
  • FLASH_IT_DBECCERR_BANK2 : Double Detection ECC Error on Bank 2 Interrupt source
  • FLASH_IT_CRCEND_BANK2 : CRC End on Bank 2 Interrupt source
  • FLASH_IT_CRCRDERR_BANK2 : CRC Read error on Bank 2 Interrupt source
  • FLASH_IT_ALL_BANK2 : All Bank 2 Interrupt sources
Return values
none

Definition at line 591 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_DISABLE_IT_BANK1 [2/2]

#define __HAL_FLASH_DISABLE_IT_BANK1 (   __INTERRUPT__)    (FLASH->CR1 &= ~(uint32_t)(__INTERRUPT__))

Disable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>: FLASH interrupt In case of Bank 1 This parameter can be any combination of the following values:
  • FLASH_IT_EOP_BANK1 : End of FLASH Bank 1 Operation Interrupt source
  • FLASH_IT_WRPERR_BANK1 : Write Protection Error on Bank 1 Interrupt source
  • FLASH_IT_PGSERR_BANK1 : Program Sequence Error on Bank 1 Interrupt source
  • FLASH_IT_STRBERR_BANK1 : Strobe Error on Bank 1 Interrupt source
  • FLASH_IT_INCERR_BANK1 : Inconsistency Error on Bank 1 Interrupt source
  • FLASH_IT_OPERR_BANK1 : Operation Error on Bank 1 Interrupt source
  • FLASH_IT_RDPERR_BANK1 : Read protection Error on Bank 1 Interrupt source
  • FLASH_IT_RDSERR_BANK1 : Read secure Error on Bank 1 Interrupt source
  • FLASH_IT_SNECCERR_BANK1 : Single ECC Error Correction on Bank 1 Interrupt source
  • FLASH_IT_DBECCERR_BANK1 : Double Detection ECC Error on Bank 1 Interrupt source
  • FLASH_IT_CRCEND_BANK1 : CRC End on Bank 1 Interrupt source
  • FLASH_IT_CRCRDERR_BANK1 : CRC Read error on Bank 1 Interrupt source
  • FLASH_IT_ALL_BANK1 : All Bank 1 Interrupt sources
In case of Bank 2, this parameter can be any combination of the following values:
  • FLASH_IT_EOP_BANK2 : End of FLASH Bank 2 Operation Interrupt source
  • FLASH_IT_WRPERR_BANK2 : Write Protection Error on Bank 2 Interrupt source
  • FLASH_IT_PGSERR_BANK2 : Program Sequence Error on Bank 2 Interrupt source
  • FLASH_IT_STRBERR_BANK2 : Strobe Error on Bank 2 Interrupt source
  • FLASH_IT_INCERR_BANK2 : Inconsistency Error on Bank 2 Interrupt source
  • FLASH_IT_OPERR_BANK2 : Operation Error on Bank 2 Interrupt source
  • FLASH_IT_RDPERR_BANK2 : Read protection Error on Bank 2 Interrupt source
  • FLASH_IT_RDSERR_BANK2 : Read secure Error on Bank 2 Interrupt source
  • FLASH_IT_SNECCERR_BANK2 : Single ECC Error Correction on Bank 2 Interrupt source
  • FLASH_IT_DBECCERR_BANK2 : Double Detection ECC Error on Bank 2 Interrupt source
  • FLASH_IT_CRCEND_BANK2 : CRC End on Bank 2 Interrupt source
  • FLASH_IT_CRCRDERR_BANK2 : CRC Read error on Bank 2 Interrupt source
  • FLASH_IT_ALL_BANK2 : All Bank 2 Interrupt sources
Return values
none

Definition at line 591 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_DISABLE_IT_BANK2 [1/2]

#define __HAL_FLASH_DISABLE_IT_BANK2 (   __INTERRUPT__)    (FLASH->CR2 &= ~(uint32_t)((__INTERRUPT__) & 0x7FFFFFFFU))

◆ __HAL_FLASH_DISABLE_IT_BANK2 [2/2]

#define __HAL_FLASH_DISABLE_IT_BANK2 (   __INTERRUPT__)    (FLASH->CR2 &= ~(uint32_t)((__INTERRUPT__) & 0x7FFFFFFFU))

◆ __HAL_FLASH_ENABLE_IT [1/6]

#define __HAL_FLASH_ENABLE_IT (   __INTERRUPT__)    (FLASH->CR |= (__INTERRUPT__))

Enable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 248 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_ENABLE_IT [2/6]

#define __HAL_FLASH_ENABLE_IT (   __INTERRUPT__)    (FLASH->CR |= (__INTERRUPT__))

Enable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 248 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_ENABLE_IT [3/6]

#define __HAL_FLASH_ENABLE_IT (   __INTERRUPT__)    (FLASH->CR |= (__INTERRUPT__))

Enable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 248 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_ENABLE_IT [4/6]

#define __HAL_FLASH_ENABLE_IT (   __INTERRUPT__)    (FLASH->CR |= (__INTERRUPT__))

Enable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 259 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_ENABLE_IT [5/6]

#define __HAL_FLASH_ENABLE_IT (   __INTERRUPT__)    __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__)

◆ __HAL_FLASH_ENABLE_IT [6/6]

#define __HAL_FLASH_ENABLE_IT (   __INTERRUPT__)    __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__)

◆ __HAL_FLASH_ENABLE_IT_BANK1 [1/2]

#define __HAL_FLASH_ENABLE_IT_BANK1 (   __INTERRUPT__)    (FLASH->CR1 |= (__INTERRUPT__))

Enable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>: FLASH interrupt In case of Bank 1 This parameter can be any combination of the following values:
  • FLASH_IT_EOP_BANK1 : End of FLASH Bank 1 Operation Interrupt source
  • FLASH_IT_WRPERR_BANK1 : Write Protection Error on Bank 1 Interrupt source
  • FLASH_IT_PGSERR_BANK1 : Program Sequence Error on Bank 1 Interrupt source
  • FLASH_IT_STRBERR_BANK1 : Strobe Error on Bank 1 Interrupt source
  • FLASH_IT_INCERR_BANK1 : Inconsistency Error on Bank 1 Interrupt source
  • FLASH_IT_OPERR_BANK1 : Operation Error on Bank 1 Interrupt source
  • FLASH_IT_RDPERR_BANK1 : Read protection Error on Bank 1 Interrupt source
  • FLASH_IT_RDSERR_BANK1 : Read secure Error on Bank 1 Interrupt source
  • FLASH_IT_SNECCERR_BANK1 : Single ECC Error Correction on Bank 1 Interrupt source
  • FLASH_IT_DBECCERR_BANK1 : Double Detection ECC Error on Bank 1 Interrupt source
  • FLASH_IT_CRCEND_BANK1 : CRC End on Bank 1 Interrupt source
  • FLASH_IT_CRCRDERR_BANK1 : CRC Read error on Bank 1 Interrupt source
  • FLASH_IT_ALL_BANK1 : All Bank 1 Interrupt sources
In case of Bank 2, this parameter can be any combination of the following values:
  • FLASH_IT_EOP_BANK2 : End of FLASH Bank 2 Operation Interrupt source
  • FLASH_IT_WRPERR_BANK2 : Write Protection Error on Bank 2 Interrupt source
  • FLASH_IT_PGSERR_BANK2 : Program Sequence Error on Bank 2 Interrupt source
  • FLASH_IT_STRBERR_BANK2 : Strobe Error on Bank 2 Interrupt source
  • FLASH_IT_INCERR_BANK2 : Inconsistency Error on Bank 2 Interrupt source
  • FLASH_IT_OPERR_BANK2 : Operation Error on Bank 2 Interrupt source
  • FLASH_IT_RDPERR_BANK2 : Read protection Error on Bank 2 Interrupt source
  • FLASH_IT_RDSERR_BANK2 : Read secure Error on Bank 2 Interrupt source
  • FLASH_IT_SNECCERR_BANK2 : Single ECC Error Correction on Bank 2 Interrupt source
  • FLASH_IT_DBECCERR_BANK2 : Double Detection ECC Error on Bank 2 Interrupt source
  • FLASH_IT_CRCEND_BANK2 : CRC End on Bank 2 Interrupt source
  • FLASH_IT_CRCRDERR_BANK2 : CRC Read error on Bank 2 Interrupt source
  • FLASH_IT_ALL_BANK2 : All Bank 2 Interrupt sources
Return values
none

Definition at line 543 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_ENABLE_IT_BANK1 [2/2]

#define __HAL_FLASH_ENABLE_IT_BANK1 (   __INTERRUPT__)    (FLASH->CR1 |= (__INTERRUPT__))

Enable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>: FLASH interrupt In case of Bank 1 This parameter can be any combination of the following values:
  • FLASH_IT_EOP_BANK1 : End of FLASH Bank 1 Operation Interrupt source
  • FLASH_IT_WRPERR_BANK1 : Write Protection Error on Bank 1 Interrupt source
  • FLASH_IT_PGSERR_BANK1 : Program Sequence Error on Bank 1 Interrupt source
  • FLASH_IT_STRBERR_BANK1 : Strobe Error on Bank 1 Interrupt source
  • FLASH_IT_INCERR_BANK1 : Inconsistency Error on Bank 1 Interrupt source
  • FLASH_IT_OPERR_BANK1 : Operation Error on Bank 1 Interrupt source
  • FLASH_IT_RDPERR_BANK1 : Read protection Error on Bank 1 Interrupt source
  • FLASH_IT_RDSERR_BANK1 : Read secure Error on Bank 1 Interrupt source
  • FLASH_IT_SNECCERR_BANK1 : Single ECC Error Correction on Bank 1 Interrupt source
  • FLASH_IT_DBECCERR_BANK1 : Double Detection ECC Error on Bank 1 Interrupt source
  • FLASH_IT_CRCEND_BANK1 : CRC End on Bank 1 Interrupt source
  • FLASH_IT_CRCRDERR_BANK1 : CRC Read error on Bank 1 Interrupt source
  • FLASH_IT_ALL_BANK1 : All Bank 1 Interrupt sources
In case of Bank 2, this parameter can be any combination of the following values:
  • FLASH_IT_EOP_BANK2 : End of FLASH Bank 2 Operation Interrupt source
  • FLASH_IT_WRPERR_BANK2 : Write Protection Error on Bank 2 Interrupt source
  • FLASH_IT_PGSERR_BANK2 : Program Sequence Error on Bank 2 Interrupt source
  • FLASH_IT_STRBERR_BANK2 : Strobe Error on Bank 2 Interrupt source
  • FLASH_IT_INCERR_BANK2 : Inconsistency Error on Bank 2 Interrupt source
  • FLASH_IT_OPERR_BANK2 : Operation Error on Bank 2 Interrupt source
  • FLASH_IT_RDPERR_BANK2 : Read protection Error on Bank 2 Interrupt source
  • FLASH_IT_RDSERR_BANK2 : Read secure Error on Bank 2 Interrupt source
  • FLASH_IT_SNECCERR_BANK2 : Single ECC Error Correction on Bank 2 Interrupt source
  • FLASH_IT_DBECCERR_BANK2 : Double Detection ECC Error on Bank 2 Interrupt source
  • FLASH_IT_CRCEND_BANK2 : CRC End on Bank 2 Interrupt source
  • FLASH_IT_CRCRDERR_BANK2 : CRC Read error on Bank 2 Interrupt source
  • FLASH_IT_ALL_BANK2 : All Bank 2 Interrupt sources
Return values
none

Definition at line 543 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_ENABLE_IT_BANK2 [1/2]

#define __HAL_FLASH_ENABLE_IT_BANK2 (   __INTERRUPT__)    (FLASH->CR2 |= ((__INTERRUPT__) & 0x7FFFFFFFU))

◆ __HAL_FLASH_ENABLE_IT_BANK2 [2/2]

#define __HAL_FLASH_ENABLE_IT_BANK2 (   __INTERRUPT__)    (FLASH->CR2 |= ((__INTERRUPT__) & 0x7FFFFFFFU))

◆ __HAL_FLASH_GET_FLAG [1/6]

#define __HAL_FLASH_GET_FLAG (   __FLAG__)    ((FLASH->SR & (__FLAG__)))

Get the specified FLASH flag status.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to check. This parameter can be any combination of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_PGSERR: FLASH Programming Sequence error flag
  • FLASH_FLAG_RDERR : FLASH Read Protection error flag (PCROP) (*)
  • FLASH_FLAG_BSY : FLASH Busy flag (*) FLASH_FLAG_RDERR is not available for STM32F405xx/407xx/415xx/417xx devices
Return values
Thenew state of FLAG (SET or RESET).

Definition at line 275 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_GET_FLAG [2/6]

#define __HAL_FLASH_GET_FLAG (   __FLAG__)    ((FLASH->SR & (__FLAG__)))

Get the specified FLASH flag status.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to check. This parameter can be any combination of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_PGSERR: FLASH Programming Sequence error flag
  • FLASH_FLAG_RDERR : FLASH Read Protection error flag (PCROP) (*)
  • FLASH_FLAG_BSY : FLASH Busy flag (*) FLASH_FLAG_RDERR is not available for STM32F405xx/407xx/415xx/417xx devices
Return values
Thenew state of FLAG (SET or RESET).

Definition at line 275 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_GET_FLAG [3/6]

#define __HAL_FLASH_GET_FLAG (   __FLAG__)    ((FLASH->SR & (__FLAG__)))

Get the specified FLASH flag status.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to check. This parameter can be any combination of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_PGSERR: FLASH Programming Sequence error flag
  • FLASH_FLAG_RDERR : FLASH Read Protection error flag (PCROP) (*)
  • FLASH_FLAG_BSY : FLASH Busy flag (*) FLASH_FLAG_RDERR is not available for STM32F405xx/407xx/415xx/417xx devices
Return values
Thenew state of FLAG (SET or RESET).

Definition at line 275 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_GET_FLAG [4/6]

#define __HAL_FLASH_GET_FLAG (   __FLAG__)    ((FLASH->SR & (__FLAG__)))

Get the specified FLASH flag status.

Parameters
<strong>FLAG</strong>specifies the FLASH flag to check. This parameter can be one of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_ERSERR : FLASH Erasing Sequence error flag
  • FLASH_FLAG_BSY : FLASH Busy flag
Return values
Thenew state of FLAG (SET or RESET).

Definition at line 284 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_GET_FLAG [5/6]

#define __HAL_FLASH_GET_FLAG (   __FLAG__)    __HAL_FLASH_GET_FLAG_BANK1(__FLAG__)

◆ __HAL_FLASH_GET_FLAG [6/6]

#define __HAL_FLASH_GET_FLAG (   __FLAG__)    __HAL_FLASH_GET_FLAG_BANK1(__FLAG__)

◆ __HAL_FLASH_GET_FLAG_BANK1 [1/2]

#define __HAL_FLASH_GET_FLAG_BANK1 (   __FLAG__)    (READ_BIT(FLASH->SR1, (__FLAG__)) == (__FLAG__))

Checks whether the specified FLASH flag is set or not.

Parameters
<strong>FLAG</strong>specifies the FLASH flag to check. In case of Bank 1 This parameter can be one of the following values :
  • FLASH_FLAG_BSY_BANK1 : FLASH Bank 1 Busy flag
  • FLASH_FLAG_WBNE_BANK1 : Write Buffer Not Empty on Bank 1 flag
  • FLASH_FLAG_QW_BANK1 : Wait Queue on Bank 1 flag
  • FLASH_FLAG_CRC_BUSY_BANK1 : CRC module is working on Bank 1 flag
  • FLASH_FLAG_EOP_BANK1 : End Of Program on Bank 1 flag
  • FLASH_FLAG_WRPERR_BANK1 : Write Protection Error on Bank 1 flag
  • FLASH_FLAG_PGSERR_BANK1 : Program Sequence Error on Bank 1 flag
  • FLASH_FLAG_STRBER_BANK1 : Program Alignment Error on Bank 1 flag
  • FLASH_FLAG_INCERR_BANK1 : Inconsistency Error on Bank 1 flag
  • FLASH_FLAG_OPERR_BANK1 : Operation Error on Bank 1 flag
  • FLASH_FLAG_RDPERR_BANK1 : Read Protection Error on Bank 1 flag
  • FLASH_FLAG_RDSERR_BANK1 : Read secure Error on Bank 1 flag
  • FLASH_FLAG_SNECCE_BANK1 : Single ECC Error Correction on Bank 1 flag
  • FLASH_FLAG_DBECCE_BANK1 : Double Detection ECC Error on Bank 1 flag
  • FLASH_FLAG_CRCEND_BANK1 : CRC End on Bank 1 flag
  • FLASH_FLAG_CRCRDERR_BANK1 : CRC Read error on Bank 1 flag
In case of Bank 2 This parameter can be one of the following values :
  • FLASH_FLAG_BSY_BANK2 : FLASH Bank 2 Busy flag
  • FLASH_FLAG_WBNE_BANK2 : Write Buffer Not Empty on Bank 2 flag
  • FLASH_FLAG_QW_BANK2 : Wait Queue on Bank 2 flag
  • FLASH_FLAG_CRC_BUSY_BANK2 : CRC module is working on Bank 2 flag
  • FLASH_FLAG_EOP_BANK2 : End Of Program on Bank 2 flag
  • FLASH_FLAG_WRPERR_BANK2 : Write Protection Error on Bank 2 flag
  • FLASH_FLAG_PGSERR_BANK2 : Program Sequence Error on Bank 2 flag
  • FLASH_FLAG_STRBER_BANK2 : Program Alignment Error on Bank 2 flag
  • FLASH_FLAG_INCERR_BANK2 : Inconsistency Error on Bank 2 flag
  • FLASH_FLAG_OPERR_BANK2 : Operation Error on Bank 2 flag
  • FLASH_FLAG_RDPERR_BANK2 : Read Protection Error on Bank 2 flag
  • FLASH_FLAG_RDSERR_BANK2 : Read secure Error on Bank 2 flag
  • FLASH_FLAG_SNECCE_BANK2 : Single ECC Error Correction on Bank 2 flag
  • FLASH_FLAG_DBECCE_BANK2 : Double Detection ECC Error on Bank 2 flag
  • FLASH_FLAG_CRCEND_BANK2 : CRC End on Bank 2 flag
  • FLASH_FLAG_CRCRDERR_BANK2 : CRC Read error on Bank 2 flag
Return values
Thenew state of FLASH_FLAG (SET or RESET).

Definition at line 644 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_GET_FLAG_BANK1 [2/2]

#define __HAL_FLASH_GET_FLAG_BANK1 (   __FLAG__)    (READ_BIT(FLASH->SR1, (__FLAG__)) == (__FLAG__))

Checks whether the specified FLASH flag is set or not.

Parameters
<strong>FLAG</strong>specifies the FLASH flag to check. In case of Bank 1 This parameter can be one of the following values :
  • FLASH_FLAG_BSY_BANK1 : FLASH Bank 1 Busy flag
  • FLASH_FLAG_WBNE_BANK1 : Write Buffer Not Empty on Bank 1 flag
  • FLASH_FLAG_QW_BANK1 : Wait Queue on Bank 1 flag
  • FLASH_FLAG_CRC_BUSY_BANK1 : CRC module is working on Bank 1 flag
  • FLASH_FLAG_EOP_BANK1 : End Of Program on Bank 1 flag
  • FLASH_FLAG_WRPERR_BANK1 : Write Protection Error on Bank 1 flag
  • FLASH_FLAG_PGSERR_BANK1 : Program Sequence Error on Bank 1 flag
  • FLASH_FLAG_STRBER_BANK1 : Program Alignment Error on Bank 1 flag
  • FLASH_FLAG_INCERR_BANK1 : Inconsistency Error on Bank 1 flag
  • FLASH_FLAG_OPERR_BANK1 : Operation Error on Bank 1 flag
  • FLASH_FLAG_RDPERR_BANK1 : Read Protection Error on Bank 1 flag
  • FLASH_FLAG_RDSERR_BANK1 : Read secure Error on Bank 1 flag
  • FLASH_FLAG_SNECCE_BANK1 : Single ECC Error Correction on Bank 1 flag
  • FLASH_FLAG_DBECCE_BANK1 : Double Detection ECC Error on Bank 1 flag
  • FLASH_FLAG_CRCEND_BANK1 : CRC End on Bank 1 flag
  • FLASH_FLAG_CRCRDERR_BANK1 : CRC Read error on Bank 1 flag
In case of Bank 2 This parameter can be one of the following values :
  • FLASH_FLAG_BSY_BANK2 : FLASH Bank 2 Busy flag
  • FLASH_FLAG_WBNE_BANK2 : Write Buffer Not Empty on Bank 2 flag
  • FLASH_FLAG_QW_BANK2 : Wait Queue on Bank 2 flag
  • FLASH_FLAG_CRC_BUSY_BANK2 : CRC module is working on Bank 2 flag
  • FLASH_FLAG_EOP_BANK2 : End Of Program on Bank 2 flag
  • FLASH_FLAG_WRPERR_BANK2 : Write Protection Error on Bank 2 flag
  • FLASH_FLAG_PGSERR_BANK2 : Program Sequence Error on Bank 2 flag
  • FLASH_FLAG_STRBER_BANK2 : Program Alignment Error on Bank 2 flag
  • FLASH_FLAG_INCERR_BANK2 : Inconsistency Error on Bank 2 flag
  • FLASH_FLAG_OPERR_BANK2 : Operation Error on Bank 2 flag
  • FLASH_FLAG_RDPERR_BANK2 : Read Protection Error on Bank 2 flag
  • FLASH_FLAG_RDSERR_BANK2 : Read secure Error on Bank 2 flag
  • FLASH_FLAG_SNECCE_BANK2 : Single ECC Error Correction on Bank 2 flag
  • FLASH_FLAG_DBECCE_BANK2 : Double Detection ECC Error on Bank 2 flag
  • FLASH_FLAG_CRCEND_BANK2 : CRC End on Bank 2 flag
  • FLASH_FLAG_CRCRDERR_BANK2 : CRC Read error on Bank 2 flag
Return values
Thenew state of FLASH_FLAG (SET or RESET).

Definition at line 644 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_GET_FLAG_BANK2 [1/2]

#define __HAL_FLASH_GET_FLAG_BANK2 (   __FLAG__)    (READ_BIT(FLASH->SR2, ((__FLAG__) & 0x7FFFFFFFU)) == (((__FLAG__) & 0x7FFFFFFFU)))

◆ __HAL_FLASH_GET_FLAG_BANK2 [2/2]

#define __HAL_FLASH_GET_FLAG_BANK2 (   __FLAG__)    (READ_BIT(FLASH->SR2, ((__FLAG__) & 0x7FFFFFFFU)) == (((__FLAG__) & 0x7FFFFFFFU)))

◆ __HAL_FLASH_GET_LATENCY [1/6]

#define __HAL_FLASH_GET_LATENCY ( )    (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))

Get the FLASH Latency.

Return values
FLASHLatency The value of this parameter depend on device used within the same series

Definition at line 185 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_GET_LATENCY [2/6]

#define __HAL_FLASH_GET_LATENCY ( )    (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))

Get the FLASH Latency.

Return values
FLASHLatency The value of this parameter depend on device used within the same series

Definition at line 185 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_GET_LATENCY [3/6]

#define __HAL_FLASH_GET_LATENCY ( )    (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))

Get the FLASH Latency.

Return values
FLASHLatency The value of this parameter depend on device used within the same series

Definition at line 185 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_GET_LATENCY [4/6]

#define __HAL_FLASH_GET_LATENCY ( )    (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))

Get the FLASH Latency.

Return values
FLASHLatency The value of this parameter depend on device used within the same series

Definition at line 216 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_GET_LATENCY [5/6]

#define __HAL_FLASH_GET_LATENCY ( )    (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))

Get the FLASH Latency.

Return values
FLASHLatency The value of this parameter depend on device used within the same series

Definition at line 506 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_GET_LATENCY [6/6]

#define __HAL_FLASH_GET_LATENCY ( )    (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))

Get the FLASH Latency.

Return values
FLASHLatency The value of this parameter depend on device used within the same series

Definition at line 506 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_INSTRUCTION_CACHE_DISABLE [1/3]

#define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_ICEN))

Disable the FLASH instruction cache.

Return values
none

Definition at line 209 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_INSTRUCTION_CACHE_DISABLE [2/3]

#define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_ICEN))

Disable the FLASH instruction cache.

Return values
none

Definition at line 209 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_INSTRUCTION_CACHE_DISABLE [3/3]

#define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_ICEN))

Disable the FLASH instruction cache.

Return values
none

Definition at line 209 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_INSTRUCTION_CACHE_ENABLE [1/3]

#define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_ICEN)

Enable the FLASH instruction cache.

Return values
none

Definition at line 203 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_INSTRUCTION_CACHE_ENABLE [2/3]

#define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_ICEN)

Enable the FLASH instruction cache.

Return values
none

Definition at line 203 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_INSTRUCTION_CACHE_ENABLE [3/3]

#define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_ICEN)

Enable the FLASH instruction cache.

Return values
none

Definition at line 203 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_INSTRUCTION_CACHE_RESET [1/3]

#define __HAL_FLASH_INSTRUCTION_CACHE_RESET ( )
Value:
do {FLASH->ACR |= FLASH_ACR_ICRST; \
FLASH->ACR &= ~FLASH_ACR_ICRST; \
}while(0U)

Resets the FLASH instruction Cache.

Note
This function must be used only when the Instruction Cache is disabled.
Return values
None

Definition at line 228 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_INSTRUCTION_CACHE_RESET [2/3]

#define __HAL_FLASH_INSTRUCTION_CACHE_RESET ( )
Value:
do {FLASH->ACR |= FLASH_ACR_ICRST; \
FLASH->ACR &= ~FLASH_ACR_ICRST; \
}while(0U)

Resets the FLASH instruction Cache.

Note
This function must be used only when the Instruction Cache is disabled.
Return values
None

Definition at line 228 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_INSTRUCTION_CACHE_RESET [3/3]

#define __HAL_FLASH_INSTRUCTION_CACHE_RESET ( )
Value:
do {FLASH->ACR |= FLASH_ACR_ICRST; \
FLASH->ACR &= ~FLASH_ACR_ICRST; \
}while(0U)

Resets the FLASH instruction Cache.

Note
This function must be used only when the Instruction Cache is disabled.
Return values
None

Definition at line 228 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_PREFETCH_BUFFER_DISABLE [1/4]

#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_PRFTEN))

Disable the FLASH prefetch buffer.

Return values
none

Definition at line 197 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_PREFETCH_BUFFER_DISABLE [2/4]

#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_PRFTEN))

Disable the FLASH prefetch buffer.

Return values
none

Definition at line 197 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_PREFETCH_BUFFER_DISABLE [3/4]

#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_PRFTEN))

Disable the FLASH prefetch buffer.

Return values
none

Definition at line 197 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_PREFETCH_BUFFER_DISABLE [4/4]

#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_PRFTEN))

Disable the FLASH prefetch buffer.

Return values
none

Definition at line 228 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_PREFETCH_BUFFER_ENABLE [1/4]

#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_PRFTEN)

Enable the FLASH prefetch buffer.

Return values
none

Definition at line 191 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_PREFETCH_BUFFER_ENABLE [2/4]

#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_PRFTEN)

Enable the FLASH prefetch buffer.

Return values
none

Definition at line 191 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_PREFETCH_BUFFER_ENABLE [3/4]

#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_PRFTEN)

Enable the FLASH prefetch buffer.

Return values
none

Definition at line 191 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_PREFETCH_BUFFER_ENABLE [4/4]

#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_PRFTEN)

Enable the FLASH prefetch buffer.

Return values
none

Definition at line 222 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_SET_LATENCY [1/6]

#define __HAL_FLASH_SET_LATENCY (   __LATENCY__)    (*(__IO uint8_t *)ACR_BYTE0_ADDRESS = (uint8_t)(__LATENCY__))

Set the FLASH Latency.

Parameters
<strong>LATENCY</strong>FLASH Latency The value of this parameter depend on device used within the same series
Return values
none

Definition at line 178 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_SET_LATENCY [2/6]

#define __HAL_FLASH_SET_LATENCY (   __LATENCY__)    (*(__IO uint8_t *)ACR_BYTE0_ADDRESS = (uint8_t)(__LATENCY__))

Set the FLASH Latency.

Parameters
<strong>LATENCY</strong>FLASH Latency The value of this parameter depend on device used within the same series
Return values
none

Definition at line 178 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_SET_LATENCY [3/6]

#define __HAL_FLASH_SET_LATENCY (   __LATENCY__)    (*(__IO uint8_t *)ACR_BYTE0_ADDRESS = (uint8_t)(__LATENCY__))

Set the FLASH Latency.

Parameters
<strong>LATENCY</strong>FLASH Latency The value of this parameter depend on device used within the same series
Return values
none

Definition at line 178 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h.

◆ __HAL_FLASH_SET_LATENCY [4/6]

#define __HAL_FLASH_SET_LATENCY (   __LATENCY__)    MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))

Set the FLASH Latency.

Parameters
<strong>LATENCY</strong>FLASH Latency The value of this parameter depend on device used within the same series
Return values
none

Definition at line 208 of file stm32f7xx_hal_flash.h.

◆ __HAL_FLASH_SET_LATENCY [5/6]

#define __HAL_FLASH_SET_LATENCY (   __LATENCY__)    MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))

Set the FLASH Latency.

Parameters
<strong>LATENCY</strong>FLASH Latency The value of this parameter depend on device used within the same series
Return values
none

Definition at line 498 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

◆ __HAL_FLASH_SET_LATENCY [6/6]

#define __HAL_FLASH_SET_LATENCY (   __LATENCY__)    MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))

Set the FLASH Latency.

Parameters
<strong>LATENCY</strong>FLASH Latency The value of this parameter depend on device used within the same series
Return values
none

Definition at line 498 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h.

FLASH_ACR_DCRST
#define FLASH_ACR_DCRST
Definition: stm32f407xx.h:6702
FLASH_ACR_ICRST
#define FLASH_ACR_ICRST
Definition: stm32f407xx.h:6699
FLASH
#define FLASH
Definition: stm32f407xx.h:1114


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:06