STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
FLASH_OBProgramInitTypeDef Struct Reference

FLASH Option Bytes Program structure definition. More...

#include <stm32f4xx_hal_flash_ex.h>

Collaboration diagram for FLASH_OBProgramInitTypeDef:

Data Fields

uint32_t OptionType
 
uint32_t WRPState
 
uint32_t WRPSector
 
uint32_t Banks
 
uint32_t RDPLevel
 
uint32_t BORLevel
 
uint8_t USERConfig
 

Detailed Description

FLASH Option Bytes Program structure definition.

Definition at line 67 of file stm32f4xx_hal_flash_ex.h.

Field Documentation

◆ OptionType

uint32_t FLASH_OBProgramInitTypeDef::OptionType

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

Definition at line 69 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

◆ WRPState

uint32_t FLASH_OBProgramInitTypeDef::WRPState

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

Definition at line 72 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBProgram().

◆ 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 75 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

◆ Banks

uint32_t FLASH_OBProgramInitTypeDef::Banks

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

Definition at line 78 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBProgram().

◆ 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 81 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

◆ BORLevel

uint32_t FLASH_OBProgramInitTypeDef::BORLevel

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

Definition at line 84 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

◆ USERConfig

uint8_t FLASH_OBProgramInitTypeDef::USERConfig

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

Definition at line 87 of file stm32f4xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().


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