STM32H735xx HAL User Manual
Defines
MMC Erase Type
Exported Constants

Defines

#define HAL_MMC_ERASE   0x00000000U
#define HAL_MMC_TRIM   0x00000001U
#define HAL_MMC_DISCARD   0x00000003U
#define HAL_MMC_SECURE_ERASE   0x80000000U
#define HAL_MMC_SECURE_TRIM_STEP1   0x80000001U
#define HAL_MMC_SECURE_TRIM_STEP2   0x80008000U
#define IS_MMC_ERASE_TYPE(TYPE)

Define Documentation

#define HAL_MMC_DISCARD   0x00000003U

Discard the write blocks identified by CMD35 & 36

Definition at line 370 of file stm32h7xx_hal_mmc.h.

#define HAL_MMC_ERASE   0x00000000U

Erase the erase groups identified by CMD35 & 36

Definition at line 368 of file stm32h7xx_hal_mmc.h.

#define HAL_MMC_SECURE_ERASE   0x80000000U

Perform a secure purge according SRT on the erase groups identified by CMD35 & 36

Definition at line 371 of file stm32h7xx_hal_mmc.h.

Referenced by HAL_MMC_EraseSequence().

#define HAL_MMC_SECURE_TRIM_STEP1   0x80000001U

Mark the write blocks identified by CMD35 & 36 for secure erase

Definition at line 372 of file stm32h7xx_hal_mmc.h.

#define HAL_MMC_SECURE_TRIM_STEP2   0x80008000U

Perform a secure purge according SRT on the write blocks previously identified

Definition at line 373 of file stm32h7xx_hal_mmc.h.

Referenced by HAL_MMC_EraseSequence().

#define HAL_MMC_TRIM   0x00000001U

Erase the write blocks identified by CMD35 & 36

Definition at line 369 of file stm32h7xx_hal_mmc.h.

#define IS_MMC_ERASE_TYPE (   TYPE)
Value:
(((TYPE) == HAL_MMC_ERASE)             || \
                                 ((TYPE) == HAL_MMC_TRIM)              || \
                                 ((TYPE) == HAL_MMC_DISCARD)           || \
                                 ((TYPE) == HAL_MMC_SECURE_ERASE)      || \
                                 ((TYPE) == HAL_MMC_SECURE_TRIM_STEP1) || \
                                 ((TYPE) == HAL_MMC_SECURE_TRIM_STEP2))

Definition at line 375 of file stm32h7xx_hal_mmc.h.

Referenced by HAL_MMC_EraseSequence().