FLASH_If_GetWriteProtectionStatus() is only used within IAP_Main.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesIAP_MainFLASH_If_GetWriteProtectionStatus()

FLASH_If_GetWriteProtectionStatus() function

Returns the write protection status of user flash area.

Syntax

uint16_t FLASH_If_GetWriteProtectionStatus(void);
Implemented in flash_if.c:126

Return value

0: No write protected sectors inside the user flash area 1: Some sectors inside the user flash area are write protected

References

LocationReferrerText
flash_if.c:126
uint16_t FLASH_If_GetWriteProtectionStatus(void)
flash_if.h:76
uint16_t FLASH_If_GetWriteProtectionStatus(void);
menu.c:143Main_Menu()
FlashProtection = FLASH_If_GetWriteProtectionStatus();

Call Tree

Functions calling FLASH_If_GetWriteProtectionStatus()
Functions called by FLASH_If_GetWriteProtectionStatus()
all items filtered out
FLASH_If_GetWriteProtectionStatus()
Data read by FLASH_If_GetWriteProtectionStatus()
Data written by FLASH_If_GetWriteProtectionStatus()
FLASH_If_GetWriteProtectionStatus()::ProtectedSECTOR
FLASH_If_GetWriteProtectionStatus()::OptionsBytesStruct
all items filtered out
FLASH_If_GetWriteProtectionStatus()
FLASH_If_GetWriteProtectionStatus()::ProtectedSECTOR
all items filtered out
Type of FLASH_If_GetWriteProtectionStatus()
FLASH_If_GetWriteProtectionStatus()
uint16_t
uint32_t
all items filtered out