1.2.12.16 1.9.10.16 FCW_BootFlashWriteProtectEnable Function
C
void FCW_BootFlashWriteProtectEnable(BOOT_FLASH_BANK bootBank, FCW_BOOT_FLASH_WRITE_PROTECT writeProtectPage);
Summary
Enable write protection for boot flash
Description
This function enables write protection for the given page of boot flash bank.
Precondition
None
Parameters
Param | Description |
---|---|
bootBank | boot flash bank |
writeProtectPage | boot flash page to be write protected |
Returns
None.
Example
FCW_BootFlashWriteProtectEnable(BOOT_FLASH_BANK_1, FCW_BOOT_WRITE_PROTECT_PAGE_0);