12#ifndef ZEPHYR_INCLUDE_DRIVERS_I2C_TARGET_EEPROM_H_
13#define ZEPHYR_INCLUDE_DRIVERS_I2C_TARGET_EEPROM_H_
int eeprom_target_set_addr(const struct device *dev, uint8_t addr)
Change the address of eeprom target at runtime.
int eeprom_target_program(const struct device *dev, const uint8_t *eeprom_data, unsigned int length)
Program memory of the virtual EEPROM.
int eeprom_target_read(const struct device *dev, uint8_t *eeprom_data, unsigned int offset)
Read single byte of virtual EEPROM memory.
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition: device.h:403