STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
FLASH_OBProgramInitTypeDef Struct Reference

FLASH Option Bytes Program structure definition. More...

#include <stm32h7xx_hal_flash_ex.h>

Public Attributes

uint32_t OptionType
 Option byte to be configured.
uint32_t WRPState
 Write protection activation or deactivation.
uint32_t WRPSector
 Specifies the sector(s) to be write protected.
uint32_t RDPLevel
 Set the read protection level.
uint32_t BORLevel
 Set the BOR Level.
uint32_t USERType
 User option byte(s) to be configured (used for OPTIONBYTE_USER).
uint32_t USERConfig
 Program the FLASH User Option Byte: IWDG_SW / RST_STOP / RST_STDBY / IWDG_FREEZE_STOP / IWDG_FREEZE_SANDBY / IO_HSLV / SWAP_BANK_OPT.
uint32_t Banks
 Select banks for WRP , PCROP and secure area config .
uint32_t PCROPConfig
 specifies if the PCROP area shall be erased or not when RDP level decreased from Level 1 to Level 0 or during a mass erase.
uint32_t PCROPStartAddr
 PCROP Start address (used for OPTIONBYTE_PCROP).
uint32_t PCROPEndAddr
 PCROP End address (used for OPTIONBYTE_PCROP).
uint32_t BootConfig
 Specifies if the Boot Address to be configured BOOT_ADD0, BOOT_ADD1 or both.
uint32_t BootAddr0
 Boot Address 0.
uint32_t BootAddr1
 Boot Address 1.
uint32_t SecureAreaConfig
 specifies if the bank secured area shall be erased or not when RDP level decreased from Level 1 to Level 0 or during a mass erase.
uint32_t SecureAreaStartAddr
 Bank Secure area Start address.
uint32_t SecureAreaEndAddr
 Bank Secure area End address.

Detailed Description

FLASH Option Bytes Program structure definition.

Definition at line 68 of file stm32h7xx_hal_flash_ex.h.

Member Data Documentation

◆ Banks

uint32_t FLASH_OBProgramInitTypeDef::Banks

Select banks for WRP , PCROP and secure area config .

This parameter must be a value of FLASH Banks

Definition at line 91 of file stm32h7xx_hal_flash_ex.h.

◆ BootAddr0

uint32_t FLASH_OBProgramInitTypeDef::BootAddr0

Boot Address 0.

This parameter must be a value between begin and end of a bank

Definition at line 107 of file stm32h7xx_hal_flash_ex.h.

◆ BootAddr1

uint32_t FLASH_OBProgramInitTypeDef::BootAddr1

Boot Address 1.

This parameter must be a value between begin and end of a bank

Definition at line 110 of file stm32h7xx_hal_flash_ex.h.

◆ BootConfig

uint32_t FLASH_OBProgramInitTypeDef::BootConfig

Specifies if the Boot Address to be configured BOOT_ADD0, BOOT_ADD1 or both.

This parameter must be a value of FLASHEx OB BOOT OPTION enumeration

Definition at line 104 of file stm32h7xx_hal_flash_ex.h.

◆ BORLevel

uint32_t FLASH_OBProgramInitTypeDef::BORLevel

Set the BOR Level.

This parameter can be a value of FLASH BOR Reset Level

Definition at line 82 of file stm32h7xx_hal_flash_ex.h.

◆ OptionType

uint32_t FLASH_OBProgramInitTypeDef::OptionType

Option byte to be configured.

This parameter can be a value of FLASH Option Type

Definition at line 70 of file stm32h7xx_hal_flash_ex.h.

◆ PCROPConfig

uint32_t FLASH_OBProgramInitTypeDef::PCROPConfig

specifies if the PCROP area shall be erased or not when RDP level decreased from Level 1 to Level 0 or during a mass erase.

This parameter must be a value of FLASHEx OB PCROP RDP enumeration

Definition at line 94 of file stm32h7xx_hal_flash_ex.h.

◆ PCROPEndAddr

uint32_t FLASH_OBProgramInitTypeDef::PCROPEndAddr

PCROP End address (used for OPTIONBYTE_PCROP).

This parameter must be a value between PCROP Start address and end of a bank

Definition at line 101 of file stm32h7xx_hal_flash_ex.h.

◆ PCROPStartAddr

uint32_t FLASH_OBProgramInitTypeDef::PCROPStartAddr

PCROP Start address (used for OPTIONBYTE_PCROP).

This parameter must be a value between begin and end of a bank

Definition at line 98 of file stm32h7xx_hal_flash_ex.h.

◆ RDPLevel

uint32_t FLASH_OBProgramInitTypeDef::RDPLevel

Set the read protection level.

This parameter can be a value of FLASH Option Bytes Read Protection

Definition at line 79 of file stm32h7xx_hal_flash_ex.h.

◆ SecureAreaConfig

uint32_t FLASH_OBProgramInitTypeDef::SecureAreaConfig

specifies if the bank secured area shall be erased or not when RDP level decreased from Level 1 to Level 0 or during a mass erase.

This parameter must be a value of FLASHEx OB SECURE RDP enumeration

Definition at line 124 of file stm32h7xx_hal_flash_ex.h.

◆ SecureAreaEndAddr

uint32_t FLASH_OBProgramInitTypeDef::SecureAreaEndAddr

Bank Secure area End address.

This parameter must be a value between Secure Area Start address and end address of a bank1

Definition at line 131 of file stm32h7xx_hal_flash_ex.h.

◆ SecureAreaStartAddr

uint32_t FLASH_OBProgramInitTypeDef::SecureAreaStartAddr

Bank Secure area Start address.

This parameter must be a value between begin address and end address of bank1

Definition at line 128 of file stm32h7xx_hal_flash_ex.h.

◆ USERConfig

uint32_t FLASH_OBProgramInitTypeDef::USERConfig

Program the FLASH User Option Byte: IWDG_SW / RST_STOP / RST_STDBY / IWDG_FREEZE_STOP / IWDG_FREEZE_SANDBY / IO_HSLV / SWAP_BANK_OPT.

Definition at line 88 of file stm32h7xx_hal_flash_ex.h.

◆ USERType

uint32_t FLASH_OBProgramInitTypeDef::USERType

User option byte(s) to be configured (used for OPTIONBYTE_USER).

This parameter can be a combination of FLASHEx OB USER Type

Definition at line 85 of file stm32h7xx_hal_flash_ex.h.

◆ WRPSector

uint32_t FLASH_OBProgramInitTypeDef::WRPSector

Specifies the sector(s) to be write protected.

The value of this parameter depend on device used within the same series

Definition at line 76 of file stm32h7xx_hal_flash_ex.h.

◆ WRPState

uint32_t FLASH_OBProgramInitTypeDef::WRPState

Write protection activation or deactivation.

This parameter can be a value of FLASH WRP State

Definition at line 73 of file stm32h7xx_hal_flash_ex.h.


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