1.34.5.9 EFC_RegionUnlock Function

C

void EFC_RegionUnlock(uint32_t address);

Summary

Unlocks a Flash region.

Description

This function is used to Unlock a certain region of on-chip flash. It takes in address as a parameter and unlocks 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 unlocked

Returns

None.

Example

EFC_RegionUnlock(0x00500000);

while(EFC_IsBusy());