macros to handle FLASH half cycle
More...
macros to handle FLASH half cycle
◆ __HAL_FLASH_HALF_CYCLE_ACCESS_DISABLE
#define __HAL_FLASH_HALF_CYCLE_ACCESS_DISABLE |
( |
| ) |
(FLASH->ACR &= (~FLASH_ACR_HLFCYA)) |
Disable the FLASH half cycle access.
- Note
- half cycle access can only be used with a low-frequency clock of less than 8 MHz that can be obtained with the use of HSI or HSE but not of PLL.
- Return values
-
◆ __HAL_FLASH_HALF_CYCLE_ACCESS_ENABLE
#define __HAL_FLASH_HALF_CYCLE_ACCESS_ENABLE |
( |
| ) |
(FLASH->ACR |= FLASH_ACR_HLFCYA) |
Enable the FLASH half cycle access.
- Note
- half cycle access can only be used with a low-frequency clock of less than 8 MHz that can be obtained with the use of HSI or HSE but not of PLL.
- Return values
-