STM32F4xx_HAL_Driver  1.8.3
FLASH Exported Types
+ Collaboration diagram for FLASH Exported Types:

Data Structures

struct  FLASH_EraseInitTypeDef
 FLASH Erase structure definition. More...
 
struct  FLASH_OBProgramInitTypeDef
 FLASH Option Bytes Program structure definition. More...
 
struct  FLASH_AdvOBProgramInitTypeDef
 FLASH Advanced Option Bytes Program structure definition. More...
 

Detailed Description


Data Structure Documentation

◆ FLASH_EraseInitTypeDef

struct FLASH_EraseInitTypeDef

FLASH Erase structure definition.

Definition at line 45 of file stm32f4xx_hal_flash_ex.h.

Data Fields
uint32_t Banks

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

uint32_t NbSectors

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

uint32_t Sector

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

uint32_t TypeErase

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

uint32_t VoltageRange

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

◆ FLASH_OBProgramInitTypeDef

struct FLASH_OBProgramInitTypeDef

FLASH Option Bytes Program structure definition.

Definition at line 67 of file stm32f4xx_hal_flash_ex.h.

Data Fields
uint32_t Banks

Select banks for WRP activation/deactivation of all sectors. This parameter must be a value of FLASH Banks

uint32_t BORLevel

Set the BOR Level. This parameter can be a value of FLASH BOR Reset Level

uint32_t OptionType

Option byte to be configured. This parameter can be a value of FLASH Option Type

uint32_t RDPLevel

Set the read protection level. This parameter can be a value of FLASH Option Bytes Read Protection

uint8_t USERConfig

Program the FLASH User Option Byte: IWDG_SW / RST_STOP / RST_STDBY.

uint32_t WRPSector

Specifies the sector(s) to be write protected. The value of this parameter depend on device used within the same series

uint32_t WRPState

Write protection activation or deactivation. This parameter can be a value of FLASH WRP State

◆ FLASH_AdvOBProgramInitTypeDef

struct FLASH_AdvOBProgramInitTypeDef

FLASH Advanced Option Bytes Program structure definition.

Definition at line 99 of file stm32f4xx_hal_flash_ex.h.

Data Fields
uint32_t Banks

Select banks for PCROP activation/deactivation of all sectors. This parameter must be a value of FLASH Banks

uint8_t BootConfig

Specifies Option bytes for boot config. This parameter can be a value of FLASH Dual Boot

uint32_t OptionType

Option byte to be configured for extension. This parameter can be a value of FLASH Advanced Option Type

uint32_t PCROPState

PCROP activation or deactivation. This parameter can be a value of FLASH PCROP State

uint16_t Sectors

specifies the sector(s) set for PCROP. This parameter can be a value of FLASH Option Bytes PC ReadWrite Protection

uint16_t SectorsBank1

Specifies the sector(s) set for PCROP for Bank1. This parameter can be a value of FLASH Option Bytes PC ReadWrite Protection

uint16_t SectorsBank2

Specifies the sector(s) set for PCROP for Bank2. This parameter can be a value of FLASH Option Bytes PC ReadWrite Protection