/* Erases the entire emulated RWW EEPROM memory space. 
Erases and re-initializes the emulated RWW EEPROM memory space, destroying any existing data.  */
void rww_eeprom_emulator_erase_memory(void)
/* Erases the entire emulated RWW EEPROM memory space. 
Erases and re-initializes the emulated RWW EEPROM memory space, destroying any existing data.  */
void rww_eeprom_emulator_erase_memory(void)
{
	_rww_eeprom_emulator_format_memory();
	bool temp = _eeprom_instance.initialized;
	_eeprom_instance.initialized = false;
	_rww_eeprom_emulator_create_master_page();
	_eeprom_instance.initialized = temp;
	_rww_eeprom_emulator_update_page_mapping();
}