RTEMS 6.1-rc7
Loading...
Searching...
No Matches
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
 

Detailed Description

FLASH Option Bytes Program structure definition.

Field 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

◆ BootAddr0

uint32_t FLASH_OBProgramInitTypeDef::BootAddr0

Boot Address 0. This parameter must be a value between begin and end of a bank

◆ BootAddr1

uint32_t FLASH_OBProgramInitTypeDef::BootAddr1

Boot Address 1. This parameter must be a value between begin and end of a bank

◆ 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

◆ BORLevel

uint32_t FLASH_OBProgramInitTypeDef::BORLevel

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

◆ OptionType

uint32_t FLASH_OBProgramInitTypeDef::OptionType

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

◆ 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

◆ 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

◆ 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

◆ RDPLevel

uint32_t FLASH_OBProgramInitTypeDef::RDPLevel

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

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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

◆ WRPState

uint32_t FLASH_OBProgramInitTypeDef::WRPState

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


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