| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
EEPROM Interface. More...
Data Structures | |
| struct | eeprom_driver_api | 
Typedefs | |
| typedef int(* | eeprom_api_read) (const struct device *dev, off_t offset, void *data, size_t len) | 
| typedef int(* | eeprom_api_write) (const struct device *dev, off_t offset, const void *data, size_t len) | 
| typedef size_t(* | eeprom_api_size) (const struct device *dev) | 
Functions | |
| int | eeprom_read (const struct device *dev, off_t offset, void *data, size_t len) | 
| Read data from EEPROM.  More... | |
| int | eeprom_write (const struct device *dev, off_t offset, const void *data, size_t len) | 
| Write data to EEPROM.  More... | |
| size_t | eeprom_get_size (const struct device *dev) | 
| Get the size of the EEPROM in bytes.  More... | |
EEPROM Interface.
#include <include/zephyr/drivers/eeprom.h>
| typedef size_t(* eeprom_api_size) (const struct device *dev) | 
#include <include/zephyr/drivers/eeprom.h>
| typedef int(* eeprom_api_write) (const struct device *dev, off_t offset, const void *data, size_t len) | 
#include <include/zephyr/drivers/eeprom.h>
| size_t eeprom_get_size | ( | const struct device * | dev | ) | 
#include <include/zephyr/drivers/eeprom.h>
Get the size of the EEPROM in bytes.
| dev | EEPROM device. | 
#include <include/zephyr/drivers/eeprom.h>
Read data from EEPROM.
| dev | EEPROM device | 
| offset | Address offset to read from. | 
| data | Buffer to store read data. | 
| len | Number of bytes to read. | 
#include <include/zephyr/drivers/eeprom.h>
Write data to EEPROM.
| dev | EEPROM device | 
| offset | Address offset to write data to. | 
| data | Buffer with data to write. | 
| len | Number of bytes to write. |