STM32F103xB HAL User Manual
Data Fields
FLASH_OBProgramInitTypeDef Struct Reference

FLASH Options bytes program structure definition. More...

#include <stm32f1xx_hal_flash_ex.h>

Data Fields

uint32_t OptionType
uint32_t WRPState
uint32_t WRPPage
uint32_t Banks
uint8_t RDPLevel
uint8_t USERConfig
uint32_t DATAAddress
uint8_t DATAData

Detailed Description

FLASH Options bytes program structure definition.

Definition at line 190 of file stm32f1xx_hal_flash_ex.h.


Field Documentation

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

Definition at line 201 of file stm32f1xx_hal_flash_ex.h.

DATAAddress: Address of the option byte DATA to be programmed This parameter can be a value of Option Byte Data Address

Definition at line 219 of file stm32f1xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBProgram().

DATAData: Data to be stored in the option byte DATA This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF

Definition at line 222 of file stm32f1xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBProgram().

OptionType: Option byte to be configured. This parameter can be a value of Option Bytes Type

Definition at line 192 of file stm32f1xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

RDPLevel: Set the read protection level.. This parameter can be a value of Option Byte Read Protection

Definition at line 204 of file stm32f1xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

USERConfig: Program the FLASH User Option Byte: IWDG / STOP / STDBY This parameter can be a combination of Option Byte IWatchdog, Option Byte nRST STOP, Option Byte nRST STDBY

Definition at line 213 of file stm32f1xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

WRPPage: specifies the page(s) to be write protected This parameter can be a value of Option Bytes Write Protection

Definition at line 198 of file stm32f1xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

WRPState: Write protection activation or deactivation. This parameter can be a value of Option Byte WRP State

Definition at line 195 of file stm32f1xx_hal_flash_ex.h.

Referenced by HAL_FLASHEx_OBProgram().


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