Jump to main content

##

# 3.12.19.12 SEFC_RegionLock Function

## C

    void SEFC_RegionLock(uint32_t address);

## Summary

Locks a Flash region.

## Description

This function takes an address as a parameter and locks the region associated with it.

## Precondition

Validate if SEFCx controller is ready to accept new request by calling SEFC_IsBusy()

## Parameters

Param | Description
--- | ---
address | Address of the page to be locked

## Returns

None.

## Example

    SEFC_RegionLock(0x00500000);

    while(SEFC_IsBusy(0x00500000));