1.10.14.14 1.11.15.14 1.12.15.14 1.13.14.14 1.14.11.12 1.15.12.12 1.22.16.14 1.23.15.14 NVM_BootFlashWriteProtectDisable Function
C
void NVM_BootFlashWriteProtectDisable( NVM_BOOT_FLASH_WRITE_PROTECT writeProtectPage )
Summary
Un-Protect Boot Flash Memory Page to perform Writes
Description
Un-Protects the specified Boot Flash Page to perform writes. It can be used to Disable protection for both Upper and Lower Boot flash pages on applicable devices
Precondition
None
Parameters
Param | Description |
---|---|
writeProtectPage | Boot Flash Page to be Un-Protected. |
Returns
None.
Example
The boot flash protect pages vary based on device family. Refer to the generated header file for the actual boot flash protect page enumerator constant to be used with the API.
// Un-Protects Boot flash Page 0 NVM_BootFlashWriteProtectDisable(NVM_BOOT_WRITE_PROTECT_0);
// Un-Protects Upper Boot flash Page 0 NVM_BootFlashWriteProtectDisable(NVM_UPPER_BOOT_WRITE_PROTECT_0);