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 313 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 321 of file gr55xx_hal_exflash.h.

EXFLASH_LOCK_AREA_UPPER_1_8
#define EXFLASH_LOCK_AREA_UPPER_1_8
Definition: gr55xx_hal_exflash.h:238
EXFLASH_LOCK_AREA_LOWER_7_8
#define EXFLASH_LOCK_AREA_LOWER_7_8
Definition: gr55xx_hal_exflash.h:253
EXFLASH_LOCK_AREA_LOWER_15_16
#define EXFLASH_LOCK_AREA_LOWER_15_16
Definition: gr55xx_hal_exflash.h:260
EXFLASH_LOCK_AREA_LOWER_3_4
#define EXFLASH_LOCK_AREA_LOWER_3_4
Definition: gr55xx_hal_exflash.h:254
EXFLASH_LOCK_AREA_LOWER_1_4
#define EXFLASH_LOCK_AREA_LOWER_1_4
Definition: gr55xx_hal_exflash.h:242
EXFLASH_LOCK_AREA_UPPER_1_2
#define EXFLASH_LOCK_AREA_UPPER_1_2
Definition: gr55xx_hal_exflash.h:240
EXFLASH_LOCK_AREA_BOTTOM_32K
#define EXFLASH_LOCK_AREA_BOTTOM_32K
Definition: gr55xx_hal_exflash.h:252
EXFLASH_LOCK_AREA_TOP_32K
#define EXFLASH_LOCK_AREA_TOP_32K
Definition: gr55xx_hal_exflash.h:248
EXFLASH_LOCK_AREA_LOWER_31_32
#define EXFLASH_LOCK_AREA_LOWER_31_32
Definition: gr55xx_hal_exflash.h:259
EXFLASH_LOCK_AREA_UPPER_1_4
#define EXFLASH_LOCK_AREA_UPPER_1_4
Definition: gr55xx_hal_exflash.h:239
EXFLASH_LOCK_AREA_ALL
#define EXFLASH_LOCK_AREA_ALL
Definition: gr55xx_hal_exflash.h:244
EXFLASH_LOCK_AREA_TOP_4K
#define EXFLASH_LOCK_AREA_TOP_4K
Definition: gr55xx_hal_exflash.h:245
EXFLASH_ERASE_CHIP
#define EXFLASH_ERASE_CHIP
Definition: gr55xx_hal_exflash.h:209
EXFLASH_LOCK_AREA_NONE
#define EXFLASH_LOCK_AREA_NONE
Definition: gr55xx_hal_exflash.h:237
EXFLASH_LOCK_AREA_UPPER_3_4
#define EXFLASH_LOCK_AREA_UPPER_3_4
Definition: gr55xx_hal_exflash.h:256
EXFLASH_LOCK_AREA_LOWER_1_2
#define EXFLASH_LOCK_AREA_LOWER_1_2
Definition: gr55xx_hal_exflash.h:243
EXFLASH_LOCK_AREA_LOWER_127_128
#define EXFLASH_LOCK_AREA_LOWER_127_128
Definition: gr55xx_hal_exflash.h:257
EXFLASH_LOCK_AREA_BOTTOM_4K
#define EXFLASH_LOCK_AREA_BOTTOM_4K
Definition: gr55xx_hal_exflash.h:249
EXFLASH_LOCK_AREA_BOTTOM_16K
#define EXFLASH_LOCK_AREA_BOTTOM_16K
Definition: gr55xx_hal_exflash.h:251
EXFLASH_LOCK_AREA_BOTTOM_8K
#define EXFLASH_LOCK_AREA_BOTTOM_8K
Definition: gr55xx_hal_exflash.h:250
EXFLASH_LOCK_AREA_UPPER_31_32
#define EXFLASH_LOCK_AREA_UPPER_31_32
Definition: gr55xx_hal_exflash.h:263
EXFLASH_LOCK_AREA_LOWER_1_8
#define EXFLASH_LOCK_AREA_LOWER_1_8
Definition: gr55xx_hal_exflash.h:241
EXFLASH_LOCK_AREA_TOP_16K
#define EXFLASH_LOCK_AREA_TOP_16K
Definition: gr55xx_hal_exflash.h:247
EXFLASH_ERASE_SECTOR
#define EXFLASH_ERASE_SECTOR
Definition: gr55xx_hal_exflash.h:208
EXFLASH_LOCK_AREA_UPPER_127_128
#define EXFLASH_LOCK_AREA_UPPER_127_128
Definition: gr55xx_hal_exflash.h:261
EXFLASH_LOCK_AREA_LOWER_63_64
#define EXFLASH_LOCK_AREA_LOWER_63_64
Definition: gr55xx_hal_exflash.h:258
EXFLASH_LOCK_AREA_TOP_8K
#define EXFLASH_LOCK_AREA_TOP_8K
Definition: gr55xx_hal_exflash.h:246
EXFLASH_LOCK_AREA_UPPER_63_64
#define EXFLASH_LOCK_AREA_UPPER_63_64
Definition: gr55xx_hal_exflash.h:262
EXFLASH_LOCK_AREA_UPPER_15_16
#define EXFLASH_LOCK_AREA_UPPER_15_16
Definition: gr55xx_hal_exflash.h:264
EXFLASH_LOCK_AREA_UPPER_7_8
#define EXFLASH_LOCK_AREA_UPPER_7_8
Definition: gr55xx_hal_exflash.h:255