Macros
EXFLASH Private Macros
Peripheral Driver » HAL Driver » EXFLASH » Defines

## Macros
#define | IS_EXFLASH_ERASE_TYPE(__TYPE__)
| Check if exFlash erase type is valid. More...
#define | IS_EXFLASH_LOCK_AREA(__AREA__)
| Check if exFlash lock area type is valid. More...

## Detailed Description

## Macro Definition Documentation

## ◆ IS_EXFLASH_ERASE_TYPE

#define IS_EXFLASH_ERASE_TYPE | ( |  | __TYPE__ | ) |

Value:
(((__TYPE__) == EXFLASH_ERASE_SECTOR) || \
((__TYPE__) == EXFLASH_ERASE_CHIP))

Check if exFlash erase type is valid.

Parameters

  __TYPE__ | exFlash erase type.

Return values

  SET | (__TYPE__ is valid) or RESET (__TYPE__ is invalid)

Definition at line 277 of file gr55xx_hal_exflash.h.

## ◆ IS_EXFLASH_LOCK_AREA

#define IS_EXFLASH_LOCK_AREA | ( |  | __AREA__ | ) |

Value:
(((__AREA__) == EXFLASH_LOCK_AREA_NONE) || \
((__AREA__) == EXFLASH_LOCK_AREA_UPPER_1_8) || \
((__AREA__) == EXFLASH_LOCK_AREA_UPPER_1_4) || \
((__AREA__) == EXFLASH_LOCK_AREA_UPPER_1_2) || \
((__AREA__) == EXFLASH_LOCK_AREA_LOWER_1_8) || \
((__AREA__) == EXFLASH_LOCK_AREA_LOWER_1_4) || \
((__AREA__) == EXFLASH_LOCK_AREA_LOWER_1_2) || \
((__AREA__) == EXFLASH_LOCK_AREA_ALL) || \
((__AREA__) == EXFLASH_LOCK_AREA_TOP_4K) || \
((__AREA__) == EXFLASH_LOCK_AREA_TOP_8K) || \
((__AREA__) == EXFLASH_LOCK_AREA_TOP_16K) || \
((__AREA__) == EXFLASH_LOCK_AREA_TOP_32K) || \
((__AREA__) == EXFLASH_LOCK_AREA_BOTTOM_4K) || \
((__AREA__) == EXFLASH_LOCK_AREA_BOTTOM_8K) || \
((__AREA__) == EXFLASH_LOCK_AREA_BOTTOM_16K) || \
((__AREA__) == EXFLASH_LOCK_AREA_BOTTOM_32K) || \
((__AREA__) == EXFLASH_LOCK_AREA_LOWER_7_8) || \
((__AREA__) == EXFLASH_LOCK_AREA_LOWER_3_4) || \
((__AREA__) == EXFLASH_LOCK_AREA_UPPER_7_8) || \
((__AREA__) == EXFLASH_LOCK_AREA_UPPER_3_4) || \
((__AREA__) == EXFLASH_LOCK_AREA_LOWER_127_128) || \
((__AREA__) == EXFLASH_LOCK_AREA_LOWER_63_64) || \
((__AREA__) == EXFLASH_LOCK_AREA_LOWER_31_32) || \
((__AREA__) == EXFLASH_LOCK_AREA_LOWER_15_16) || \
((__AREA__) == EXFLASH_LOCK_AREA_UPPER_127_128) || \
((__AREA__) == EXFLASH_LOCK_AREA_UPPER_63_64) || \
((__AREA__) == EXFLASH_LOCK_AREA_UPPER_31_32) || \
((__AREA__) == EXFLASH_LOCK_AREA_UPPER_15_16))

Check if exFlash lock area type is valid.

Parameters

  __AREA__ | exFlash lock area type.

Return values

  SET | (__AREA__ is valid) or RESET (__AREA__ is invalid)

Definition at line 285 of file gr55xx_hal_exflash.h.

EXFLASH_LOCK_AREA_UPPER_1_8
#define EXFLASH_LOCK_AREA_UPPER_1_8
Definition: gr55xx_hal_exflash.h:207
EXFLASH_LOCK_AREA_LOWER_7_8
#define EXFLASH_LOCK_AREA_LOWER_7_8
Definition: gr55xx_hal_exflash.h:222
EXFLASH_LOCK_AREA_LOWER_15_16
#define EXFLASH_LOCK_AREA_LOWER_15_16
Definition: gr55xx_hal_exflash.h:229
EXFLASH_LOCK_AREA_LOWER_3_4
#define EXFLASH_LOCK_AREA_LOWER_3_4
Definition: gr55xx_hal_exflash.h:223
EXFLASH_LOCK_AREA_LOWER_1_4
#define EXFLASH_LOCK_AREA_LOWER_1_4
Definition: gr55xx_hal_exflash.h:211
EXFLASH_LOCK_AREA_UPPER_1_2
#define EXFLASH_LOCK_AREA_UPPER_1_2
Definition: gr55xx_hal_exflash.h:209
EXFLASH_LOCK_AREA_BOTTOM_32K
#define EXFLASH_LOCK_AREA_BOTTOM_32K
Definition: gr55xx_hal_exflash.h:221
EXFLASH_LOCK_AREA_TOP_32K
#define EXFLASH_LOCK_AREA_TOP_32K
Definition: gr55xx_hal_exflash.h:217
EXFLASH_LOCK_AREA_LOWER_31_32
#define EXFLASH_LOCK_AREA_LOWER_31_32
Definition: gr55xx_hal_exflash.h:228
EXFLASH_LOCK_AREA_UPPER_1_4
#define EXFLASH_LOCK_AREA_UPPER_1_4
Definition: gr55xx_hal_exflash.h:208
EXFLASH_LOCK_AREA_ALL
#define EXFLASH_LOCK_AREA_ALL
Definition: gr55xx_hal_exflash.h:213
EXFLASH_LOCK_AREA_TOP_4K
#define EXFLASH_LOCK_AREA_TOP_4K
Definition: gr55xx_hal_exflash.h:214
EXFLASH_ERASE_CHIP
#define EXFLASH_ERASE_CHIP
Definition: gr55xx_hal_exflash.h:187
EXFLASH_LOCK_AREA_NONE
#define EXFLASH_LOCK_AREA_NONE
Definition: gr55xx_hal_exflash.h:206
EXFLASH_LOCK_AREA_UPPER_3_4
#define EXFLASH_LOCK_AREA_UPPER_3_4
Definition: gr55xx_hal_exflash.h:225
EXFLASH_LOCK_AREA_LOWER_1_2
#define EXFLASH_LOCK_AREA_LOWER_1_2
Definition: gr55xx_hal_exflash.h:212
EXFLASH_LOCK_AREA_LOWER_127_128
#define EXFLASH_LOCK_AREA_LOWER_127_128
Definition: gr55xx_hal_exflash.h:226
EXFLASH_LOCK_AREA_BOTTOM_4K
#define EXFLASH_LOCK_AREA_BOTTOM_4K
Definition: gr55xx_hal_exflash.h:218
EXFLASH_LOCK_AREA_BOTTOM_16K
#define EXFLASH_LOCK_AREA_BOTTOM_16K
Definition: gr55xx_hal_exflash.h:220
EXFLASH_LOCK_AREA_BOTTOM_8K
#define EXFLASH_LOCK_AREA_BOTTOM_8K
Definition: gr55xx_hal_exflash.h:219
EXFLASH_LOCK_AREA_UPPER_31_32
#define EXFLASH_LOCK_AREA_UPPER_31_32
Definition: gr55xx_hal_exflash.h:232
EXFLASH_LOCK_AREA_LOWER_1_8
#define EXFLASH_LOCK_AREA_LOWER_1_8
Definition: gr55xx_hal_exflash.h:210
EXFLASH_LOCK_AREA_TOP_16K
#define EXFLASH_LOCK_AREA_TOP_16K
Definition: gr55xx_hal_exflash.h:216
EXFLASH_ERASE_SECTOR
#define EXFLASH_ERASE_SECTOR
Definition: gr55xx_hal_exflash.h:186
EXFLASH_LOCK_AREA_UPPER_127_128
#define EXFLASH_LOCK_AREA_UPPER_127_128
Definition: gr55xx_hal_exflash.h:230
EXFLASH_LOCK_AREA_LOWER_63_64
#define EXFLASH_LOCK_AREA_LOWER_63_64
Definition: gr55xx_hal_exflash.h:227
EXFLASH_LOCK_AREA_TOP_8K
#define EXFLASH_LOCK_AREA_TOP_8K
Definition: gr55xx_hal_exflash.h:215
EXFLASH_LOCK_AREA_UPPER_63_64
#define EXFLASH_LOCK_AREA_UPPER_63_64
Definition: gr55xx_hal_exflash.h:231
EXFLASH_LOCK_AREA_UPPER_15_16
#define EXFLASH_LOCK_AREA_UPPER_15_16
Definition: gr55xx_hal_exflash.h:233
EXFLASH_LOCK_AREA_UPPER_7_8
#define EXFLASH_LOCK_AREA_UPPER_7_8
Definition: gr55xx_hal_exflash.h:224