2.44.18 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

ParamDescription
bootBankboot flash bank
writeProtectPageboot flash page to be write protected

Returns

None.

Example

FCW_BootFlashWriteProtectEnable(BOOT_FLASH_BANK_1, FCW_BOOT_WRITE_PROTECT_PAGE_0);