|
STM32F479xx HAL User Manual
|
Defines | |
| #define | __HAL_FLASH_SET_LATENCY(__LATENCY__) (*(__IO uint8_t *)ACR_BYTE0_ADDRESS = (uint8_t)(__LATENCY__)) |
| Set the FLASH Latency. | |
| #define | __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) |
| Get the FLASH Latency. | |
| #define | __HAL_FLASH_PREFETCH_BUFFER_ENABLE() (FLASH->ACR |= FLASH_ACR_PRFTEN) |
| Enable the FLASH prefetch buffer. | |
| #define | __HAL_FLASH_PREFETCH_BUFFER_DISABLE() (FLASH->ACR &= (~FLASH_ACR_PRFTEN)) |
| Disable the FLASH prefetch buffer. | |
| #define | __HAL_FLASH_INSTRUCTION_CACHE_ENABLE() (FLASH->ACR |= FLASH_ACR_ICEN) |
| Enable the FLASH instruction cache. | |
| #define | __HAL_FLASH_INSTRUCTION_CACHE_DISABLE() (FLASH->ACR &= (~FLASH_ACR_ICEN)) |
| Disable the FLASH instruction cache. | |
| #define | __HAL_FLASH_DATA_CACHE_ENABLE() (FLASH->ACR |= FLASH_ACR_DCEN) |
| Enable the FLASH data cache. | |
| #define | __HAL_FLASH_DATA_CACHE_DISABLE() (FLASH->ACR &= (~FLASH_ACR_DCEN)) |
| Disable the FLASH data cache. | |
| #define | __HAL_FLASH_INSTRUCTION_CACHE_RESET() |
| Resets the FLASH instruction Cache. | |
| #define | __HAL_FLASH_DATA_CACHE_RESET() |
| Resets the FLASH data Cache. | |
| #define | __HAL_FLASH_ENABLE_IT(__INTERRUPT__) (FLASH->CR |= (__INTERRUPT__)) |
| Enable the specified FLASH interrupt. | |
| #define | __HAL_FLASH_DISABLE_IT(__INTERRUPT__) (FLASH->CR &= ~(uint32_t)(__INTERRUPT__)) |
| Disable the specified FLASH interrupt. | |
| #define | __HAL_FLASH_GET_FLAG(__FLAG__) ((FLASH->SR & (__FLAG__))) |
| Get the specified FLASH flag status. | |
| #define | __HAL_FLASH_CLEAR_FLAG(__FLAG__) (FLASH->SR = (__FLAG__)) |
| Clear the specified FLASH flags. | |
| #define __HAL_FLASH_CLEAR_FLAG | ( | __FLAG__ | ) | (FLASH->SR = (__FLAG__)) |
Clear the specified FLASH flags.
| __FLAG__ | specifies the FLASH flags to clear. This parameter can be any combination of the following values:
|
| none |
Definition at line 291 of file stm32f4xx_hal_flash.h.
Referenced by FLASH_SetErrorCode(), FLASH_WaitForLastOperation(), HAL_FLASH_IRQHandler(), and HAL_FLASHEx_Erase_IT().
| #define __HAL_FLASH_DATA_CACHE_DISABLE | ( | ) | (FLASH->ACR &= (~FLASH_ACR_DCEN)) |
Disable the FLASH data cache.
| none |
Definition at line 221 of file stm32f4xx_hal_flash.h.
Referenced by FLASH_FlushCaches().
| #define __HAL_FLASH_DATA_CACHE_ENABLE | ( | ) | (FLASH->ACR |= FLASH_ACR_DCEN) |
Enable the FLASH data cache.
| none |
Definition at line 215 of file stm32f4xx_hal_flash.h.
Referenced by FLASH_FlushCaches(), and HAL_Init().
| #define __HAL_FLASH_DATA_CACHE_RESET | ( | ) |
do {FLASH->ACR |= FLASH_ACR_DCRST; \ FLASH->ACR &= ~FLASH_ACR_DCRST; \ }while(0U)
Resets the FLASH data Cache.
| None |
Definition at line 237 of file stm32f4xx_hal_flash.h.
Referenced by FLASH_FlushCaches().
| #define __HAL_FLASH_DISABLE_IT | ( | __INTERRUPT__ | ) | (FLASH->CR &= ~(uint32_t)(__INTERRUPT__)) |
Disable the specified FLASH interrupt.
| __INTERRUPT__ | FLASH interrupt This parameter can be any combination of the following values:
|
| none |
Definition at line 258 of file stm32f4xx_hal_flash.h.
Referenced by HAL_FLASH_IRQHandler().
| #define __HAL_FLASH_ENABLE_IT | ( | __INTERRUPT__ | ) | (FLASH->CR |= (__INTERRUPT__)) |
Enable the specified FLASH interrupt.
| __INTERRUPT__ | FLASH interrupt This parameter can be any combination of the following values:
|
| none |
Definition at line 248 of file stm32f4xx_hal_flash.h.
Referenced by HAL_FLASH_Program_IT(), and HAL_FLASHEx_Erase_IT().
| #define __HAL_FLASH_GET_FLAG | ( | __FLAG__ | ) | ((FLASH->SR & (__FLAG__))) |
Get the specified FLASH flag status.
| __FLAG__ | specifies the FLASH flags to check. This parameter can be any combination of the following values:
|
| The | new state of __FLAG__ (SET or RESET). |
Definition at line 275 of file stm32f4xx_hal_flash.h.
Referenced by FLASH_SetErrorCode(), FLASH_WaitForLastOperation(), and HAL_FLASH_IRQHandler().
| #define __HAL_FLASH_GET_LATENCY | ( | ) | (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) |
Get the FLASH Latency.
| FLASH | Latency The value of this parameter depend on device used within the same series |
Definition at line 185 of file stm32f4xx_hal_flash.h.
Referenced by HAL_RCC_ClockConfig().
| #define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE | ( | ) | (FLASH->ACR &= (~FLASH_ACR_ICEN)) |
Disable the FLASH instruction cache.
| none |
Definition at line 209 of file stm32f4xx_hal_flash.h.
Referenced by FLASH_FlushCaches().
| #define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE | ( | ) | (FLASH->ACR |= FLASH_ACR_ICEN) |
Enable the FLASH instruction cache.
| none |
Definition at line 203 of file stm32f4xx_hal_flash.h.
Referenced by FLASH_FlushCaches(), and HAL_Init().
| #define __HAL_FLASH_INSTRUCTION_CACHE_RESET | ( | ) |
do {FLASH->ACR |= FLASH_ACR_ICRST; \ FLASH->ACR &= ~FLASH_ACR_ICRST; \ }while(0U)
Resets the FLASH instruction Cache.
| None |
Definition at line 228 of file stm32f4xx_hal_flash.h.
Referenced by FLASH_FlushCaches().
| #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE | ( | ) | (FLASH->ACR &= (~FLASH_ACR_PRFTEN)) |
Disable the FLASH prefetch buffer.
| none |
Definition at line 197 of file stm32f4xx_hal_flash.h.
| #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE | ( | ) | (FLASH->ACR |= FLASH_ACR_PRFTEN) |
Enable the FLASH prefetch buffer.
| none |
Definition at line 191 of file stm32f4xx_hal_flash.h.
Referenced by HAL_Init().
| #define __HAL_FLASH_SET_LATENCY | ( | __LATENCY__ | ) | (*(__IO uint8_t *)ACR_BYTE0_ADDRESS = (uint8_t)(__LATENCY__)) |
Set the FLASH Latency.
| __LATENCY__ | FLASH Latency The value of this parameter depend on device used within the same series |
| none |
Definition at line 178 of file stm32f4xx_hal_flash.h.
Referenced by HAL_RCC_ClockConfig().
1.7.6.1