1.42.4.8 HEFC_RegionUnlock Function
C
void HEFC_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 HEFC controller is ready to accept new request by calling HEFC_IsBusy()
Parameters
Param | Description |
---|---|
address | Address of the page to be unlocked |
Returns
None.
Example
HEFC_RegionUnlock(0x10010000);
while(HEFC_IsBusy());