![]() |
RTEMS 6.1-rc7
|
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 |
FLASH Option Bytes Program structure definition.
uint32_t FLASH_OBProgramInitTypeDef::Banks |
Select banks for WRP , PCROP and secure area config . This parameter must be a value of FLASH Banks
uint32_t FLASH_OBProgramInitTypeDef::BootAddr0 |
Boot Address 0. This parameter must be a value between begin and end of a bank
uint32_t FLASH_OBProgramInitTypeDef::BootAddr1 |
Boot Address 1. This parameter must be a value between begin and end of a bank
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
uint32_t FLASH_OBProgramInitTypeDef::BORLevel |
Set the BOR Level. This parameter can be a value of FLASH BOR Reset Level
uint32_t FLASH_OBProgramInitTypeDef::OptionType |
Option byte to be configured. This parameter can be a value of FLASH Option Type
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
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
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
uint32_t FLASH_OBProgramInitTypeDef::RDPLevel |
Set the read protection level. This parameter can be a value of FLASH Option Bytes Read Protection
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
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
uint32_t FLASH_OBProgramInitTypeDef::SecureAreaStartAddr |
Bank Secure area Start address. This parameter must be a value between begin address and end address of bank1
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
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
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
uint32_t FLASH_OBProgramInitTypeDef::WRPState |
Write protection activation or deactivation. This parameter can be a value of FLASH WRP State