29.6.3.1.1 Function rww_eeprom_emulator_init()
Initializes the RWW EEPROM Emulator service.
enum status_code rww_eeprom_emulator_init( void )
Initializes the emulated RWW EEPROM memory space. If the emulated RWW EEPROM memory has not been previously initialized, it will need to be explicitly formatted via rww_eeprom_emulator_erase_memory(). The RWW EEPROM memory space will not be automatically erased by the initialization function. Partial data may be recovered by the user application manually if the service is unable to initialize successfully.
Returns
Status code indicating the status of the operation.
Return value | Description |
---|---|
STATUS_OK |
RWW EEPROM emulation service was successfully initialized |
STATUS_ERR_BAD_FORMAT |
Emulated RWW EEPROM memory is corrupt or not formatted |
STATUS_ERR_IO |
RWW EEPROM data is incompatible with this version or scheme of the RWW EEPROM emulator |
STATUS_ERR_INVALID_ARG |
Invalid logical page configuration |