STM32F103xB HAL User Manual
Defines
FLASH Half Cycle
FLASH Exported Macros

macros to handle FLASH half cycle More...

Defines

#define __HAL_FLASH_HALF_CYCLE_ACCESS_ENABLE()   (FLASH->ACR |= FLASH_ACR_HLFCYA)
 Enable the FLASH half cycle access.
#define __HAL_FLASH_HALF_CYCLE_ACCESS_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_HLFCYA))
 Disable the FLASH half cycle access.

Detailed Description

macros to handle FLASH half cycle


Define Documentation

#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:
None

Definition at line 190 of file stm32f1xx_hal_flash.h.

#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:
None

Definition at line 182 of file stm32f1xx_hal_flash.h.