STM32H735xx HAL User Manual
Data Fields
FLASH_OBProgramInitTypeDef Struct Reference

FLASH Option Bytes Program structure definition. More...

#include <stm32h7xx_hal_flash_ex.h>

Data Fields

uint32_t OptionType
uint32_t WRPState
uint32_t WRPSector
uint32_t RDPLevel
uint32_t BORLevel
uint32_t USERType
uint32_t USERConfig
uint32_t Banks
uint32_t PCROPConfig
uint32_t PCROPStartAddr
uint32_t PCROPEndAddr
uint32_t BootConfig
uint32_t BootAddr0
uint32_t BootAddr1
uint32_t SecureAreaConfig
uint32_t SecureAreaStartAddr
uint32_t SecureAreaEndAddr
uint32_t SharedRamConfig
uint32_t FreqBoostState

Detailed Description

FLASH Option Bytes Program structure definition.

Definition at line 68 of file stm32h7xx_hal_flash_ex.h.


Field Documentation

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

Specifies the state of CPU Frequency Boost. This parameter must be a value of FLASHEx OB CPUFREQ BOOST

Definition at line 145 of file stm32h7xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

Specifies the configuration of TCM / AXI shared RAM. This parameter must be a value of FLASHEx OB TCM AXI SHARED

Definition at line 140 of file stm32h7xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

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.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().


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