/* Retrieves the parameters of the EEPROM Emulator memory layout. 
Retrieves the configuration parameters of the EEPROM Emulator, after it has been initialized. */
enum status_code eeprom_emulator_get_parameters(struct eeprom_emulator_parameters *const parameters)
/* Retrieves the parameters of the EEPROM Emulator memory layout. 
Retrieves the configuration parameters of the EEPROM Emulator, after it has been initialized. */
enum status_code eeprom_emulator_get_parameters(struct eeprom_emulator_parameters *const parameters)
{
	if (_eeprom_instance.initialized == false) {
		return STATUS_ERR_NOT_INITIALIZED;
	}
	parameters->page_size              = EEPROM_PAGE_SIZE;
	parameters->eeprom_number_of_pages = _eeprom_instance.logical_pages;
	return STATUS_OK;
}