#include "board.h"
#include "eeprom_emulation.h"
#include "eeprom_device.h"
Go to the source code of this file.
◆ e2p_emulation_xpi_init()
Initialize eeprom xpi emulation device.
- Parameters
-
| [in] | device | Pointer to eeprom device structure |
- Return values
-
| status_success | or status_fail if initialization fails |
◆ e2p_emulation_xpi_read()
Read data from eeprom xpi emulation device.
- Parameters
-
| [in] | device | Pointer to eeprom device structure |
| [in] | data_addr | Data address to read from |
| [in] | len | Length of data to read |
| [in] | data | Pointer to buffer to store read data |
- Return values
-
| status_success | or status_fail if read fails |
◆ e2p_emulation_xpi_register_param()
Register eeprom xpi emulation device parameter to device structure.
- Parameters
-
| [in] | device | Pointer to eeprom device structure |
- Return values
-
◆ e2p_emulation_xpi_write()
Write data to eeprom xpi emulation device.
- Parameters
-
| [in] | device | Pointer to eeprom device structure |
| [in] | data_addr | Data address to write to |
| [in] | len | Length of data to write |
| [in] | data | Pointer to buffer containing data to write |
- Return values
-
| status_success | or status_fail if write fails |