1.34.5.8 EFC_RegionLock Function

C

void EFC_RegionLock(uint32_t address);

Summary

Locks a Flash region.

Description

This function is used to lock a certain region of on-chip flash. It takes in address as a parameter and locks the region associated with it.

Precondition

Validate if EFC controller is ready to accept new request by calling EFC_IsBusy()

Parameters

Param Description
address Address of the page to be locked

Returns

None.

Example

EFC_RegionLock(0x00500000);

while(EFC_IsBusy());