STM32L486xx HAL User Manual
Data Fields
FLASH_EraseInitTypeDef Struct Reference

FLASH Erase structure definition. More...

#include <stm32l4xx_hal_flash.h>

Data Fields

uint32_t TypeErase
uint32_t Banks
uint32_t Page
uint32_t NbPages

Detailed Description

FLASH Erase structure definition.

Definition at line 63 of file stm32l4xx_hal_flash.h.


Field Documentation

Select bank to erase. This parameter must be a value of FLASH Banks (FLASH_BANK_BOTH should be used only for mass erase)

Definition at line 67 of file stm32l4xx_hal_flash.h.

Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().

Number of pages to be erased. This parameter must be a value between 1 and (max number of pages in the bank - value of initial page)

Definition at line 73 of file stm32l4xx_hal_flash.h.

Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().

Initial Flash page to erase when page erase is disabled This parameter must be a value between 0 and (max number of pages in the bank - 1) (eg : 255 for 1MB dual bank)

Definition at line 70 of file stm32l4xx_hal_flash.h.

Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().

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

Definition at line 65 of file stm32l4xx_hal_flash.h.

Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().


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