Jump to main content

##

# 2.46.17 FCW_PFM_WriteProtectLock Function

## C

    void FCW_PFM_WriteProtectLock( PFM_WP_REGION region )

## Summary

Disable Writes to Program Flash Write Protect Lock register

## Description

This Function will disable writes to write protect lock register for the given region. Once locked calling FCW_ProgramFlashWriteProtect() does not have any effect.

## Precondition

None

## Parameters

Param | Description
--- | ---
region | Region number

## Returns

None.

## Example

    FCW_PFM_WriteProtectLock(PFM_WP_REGION_2);

## Remarks

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