HAL_FLASHEx_OB_SelectPCROP() function
Select the Protection Mode
Return value
HAL Status
Notes
After PCROP activated Option Byte modification NOT POSSIBLE! excepted Global Read Out Protection modification (from level1 to level0) Once SPRMOD bit is active unprotection of a protected sector is not possible Read a protected sector will set RDERR Flag and write a protected sector will set WRPERR Flag This function can be used only for STM32F42xxx/STM32F43xxx/STM32F401xx/STM32F411xx/STM32F446xx/ STM32F469xx/STM32F479xx/STM32F412xx/STM32F413xx devices.