macros to handle FLASH interrupts
More...
macros to handle FLASH interrupts
◆ __HAL_FLASH_CLEAR_FLAG
#define __HAL_FLASH_CLEAR_FLAG |
( |
|
__FLAG__ | ) |
|
Value: do { \
\
{ \
} \
else { \
\
FLASH->SR = (__FLAG__); \
} \
} while(0U)
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:
|
- Return values
-
Definition at line 719 of file stm32f1xx_hal_flash_ex.h.
◆ __HAL_FLASH_DISABLE_IT
#define __HAL_FLASH_DISABLE_IT |
( |
|
__INTERRUPT__ | ) |
(FLASH->CR &= ~(__INTERRUPT__)) |
Disable the specified FLASH interrupt.
- Parameters
-
<strong>INTERRUPT</strong> | FLASH interrupt This parameter can be any combination of the following values:
|
- Return values
-
Definition at line 693 of file stm32f1xx_hal_flash_ex.h.
◆ __HAL_FLASH_ENABLE_IT
#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:
|
- Return values
-
Definition at line 683 of file stm32f1xx_hal_flash_ex.h.
◆ __HAL_FLASH_GET_FLAG
#define __HAL_FLASH_GET_FLAG |
( |
|
__FLAG__ | ) |
|
Value:
(
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:
|
- Return values
-
The | new state of FLAG (SET or RESET). |
Definition at line 706 of file stm32f1xx_hal_flash_ex.h.