1.3.1.4.2 EMU_EEPROM_StatusGet Function

1.3.1.4.2 C

EMU_EEPROM_STATUS EMU_EEPROM_StatusGet( void )

1.3.1.4.2 Summary

Gets the current status of the EEPROM Emulator library.

1.3.1.4.2 Description

This routine provides the status of the EEPROM Emulator library.

1.3.1.4.2 Precondition

Function EMU_EEPROM_Initialize should have been called before calling this function.

1.3.1.4.2 Parameters

None.

1.3.1.4.2 Returns

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

1.3.1.4.2 Example

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

1.3.1.4.2 Remarks

None.