Jump to main content

##

# 2.46.20 FCW_BootFlashWriteProtectLock Function

## C

    void FCW_BootFlashWriteProtectLock( BOOT_FLASH_BANK bootBank )

## Summary

Disable Writes to boot Flash Write Protect register

## Description

This Function will disable writes to write protect register for the given boot bank. Once locked calling FCW_BootFlashWriteProtectEnable() does not have any effect.

## Precondition

None

## Parameters

Param | Description
--- | ---
bootBank | boot flash bank

## Returns

None.

## Example

    FCW_BootFlashWriteProtectLock(BOOT_FLASH_BANK_1);

## Remarks

Writes to write protect lock register can be enabled only by Reset.