1.3.1.4.3 EMU_EEPROM_FormatMemory Function

C

bool EMU_EEPROM_FormatMemory(void)

Summary

Erases the entire emulated EEPROM memory space.

Description

Erases the entire emulated EEPROM memory space and formats it.

Precondition

Function EMU_EEPROM_Initialize should have been called before calling this function.

Parameters

None

Returns

True - Memory is formatted successfully

False - Error during formatting

Example

if (EMU_EEPROM_Status() == SYS_STATUS_UNINITIALIZED)
{
    //Format the EEPROM Emulation memory if the initialization failed
    EMU_EEPROM_FormatMemory();
}

Remarks

None