1.3.1.4.2 EMU_EEPROM_StatusGet Function

C

EMU_EEPROM_STATUS EMU_EEPROM_StatusGet( void )

Summary

Gets the current status of the EEPROM Emulator library.

Description

This routine provides the status of the EEPROM Emulator library.

Precondition

Function EMU_EEPROM_Initialize should have been called before calling this function.

Parameters

None

Returns

EMU_EEPROM_STATUS - Enum of type EMU_EEPROM_STATUS. Status code indicating the status of the operation.

Example

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

Remarks

None