FLASH_If_WriteProtectionConfig() is only used within IAP_Main.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesIAP_MainFLASH_If_WriteProtectionConfig()

FLASH_If_WriteProtectionConfig() function

Configure the write protection status of user flash area.

Syntax

HAL_StatusTypeDef FLASH_If_WriteProtectionConfig(uint32_t modifier);
Implemented in flash_if.c:270

Arguments

modifier

DISABLE or ENABLE the protection

Return value

HAL_StatusTypeDef HAL_OK if change is applied.

References

LocationReferrerText
flash_if.c:270
HAL_StatusTypeDef FLASH_If_WriteProtectionConfig(uint32_t modifier)
flash_if.h:89
HAL_StatusTypeDef FLASH_If_WriteProtectionConfig(uint32_t modifier);
menu.c:189Main_Menu()
if (FLASH_If_WriteProtectionConfig(OB_WRPSTATE_DISABLE) == HAL_OK)
menu.c:205Main_Menu()
if (FLASH_If_WriteProtectionConfig(OB_WRPSTATE_ENABLE) == HAL_OK)

Call Tree

Functions calling FLASH_If_WriteProtectionConfig()
Functions called by FLASH_If_WriteProtectionConfig()
all items filtered out
FLASH_If_WriteProtectionConfig()
Data read by FLASH_If_WriteProtectionConfig()
Data written by FLASH_If_WriteProtectionConfig()
FLASH_If_WriteProtectionConfig()::ProtectedSECTOR
FLASH_If_WriteProtectionConfig()::config_new
FLASH_If_WriteProtectionConfig()::config_old
FLASH_If_WriteProtectionConfig()::result
all items filtered out
FLASH_If_WriteProtectionConfig()
Type of FLASH_If_WriteProtectionConfig()
FLASH_If_WriteProtectionConfig()