STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
FLASH_EraseInitTypeDef Struct Reference

FLASH Erase structure definition. More...

#include <stm32f4xx_hal_flash_ex.h>

Collaboration diagram for FLASH_EraseInitTypeDef:

Data Fields

uint32_t TypeErase
 
uint32_t Banks
 
uint32_t Sector
 
uint32_t NbSectors
 
uint32_t VoltageRange
 

Detailed Description

FLASH Erase structure definition.

Definition at line 45 of file stm32f4xx_hal_flash_ex.h.

Field Documentation

◆ TypeErase

uint32_t FLASH_EraseInitTypeDef::TypeErase

Mass erase or sector Erase. This parameter can be a value of FLASH Type Erase

Definition at line 47 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().

◆ Banks

uint32_t FLASH_EraseInitTypeDef::Banks

Select banks to erase when Mass erase is enabled. This parameter must be a value of FLASH Banks

Definition at line 50 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().

◆ Sector

uint32_t FLASH_EraseInitTypeDef::Sector

Initial FLASH sector to erase when Mass erase is disabled This parameter must be a value of FLASH Sectors

Definition at line 53 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().

◆ NbSectors

uint32_t FLASH_EraseInitTypeDef::NbSectors

Number of sectors to be erased. This parameter must be a value between 1 and (max number of sectors - value of Initial sector)

Definition at line 56 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().

◆ VoltageRange

uint32_t FLASH_EraseInitTypeDef::VoltageRange

The device voltage range which defines the erase parallelism This parameter must be a value of FLASH Voltage Range

Definition at line 59 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().


The documentation for this struct was generated from the following file: