DIY Logging Volt/Ampmeter

macros to handle FLASH half cycle More...

Macros

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

Detailed Description

macros to handle FLASH half cycle

Macro Definition Documentation

◆ __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
None

Definition at line 190 of file stm32f1xx_hal_flash.h.

◆ __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
None

Definition at line 182 of file stm32f1xx_hal_flash.h.