1.32.16.17 NVMCTRL_SmartEepromSectorReallocate Function

C

void NVMCTRL_SmartEepromSectorReallocate( void )

Summary

Performs sector reallocation for the SmartEEPROM.

Description

When automatic page reallocation is disabled, the application code has to check whether the active sector is full, before issuing a write. if the sector is full, it must call the API NVMCTRL_SmartEepromSectorReallocate to trigger a sector reallocation.

Precondition

None.

Parameters

None

Returns

Performs sector reallocation for the SmartEEPROM.

Example

if (NVMCTRL_SmartEEPROM_IsActiveSectorFull())
{
    NVMCTRL_SmartEepromSectorReallocate();
}

Remarks

None.