1.3.1.4.3 EMU_EEPROM_FormatMemory Function

1.3.1.4.3 C

bool EMU_EEPROM_FormatMemory(void)

1.3.1.4.3 Summary

Erases the entire emulated EEPROM memory space.

1.3.1.4.3 Description

Erases the entire emulated EEPROM memory space and formats it.

1.3.1.4.3 Precondition

Function EMU_EEPROM_Initialize should have been called before calling this function.

1.3.1.4.3 Parameters

None.

1.3.1.4.3 Returns

True - Memory is formatted successfully.

False - Error during formatting.

1.3.1.4.3 Example

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

1.3.1.4.3 Remarks

None.