|
Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Public API for EEPROM drivers. More...
#include <zephyr/types.h>#include <stddef.h>#include <sys/types.h>#include <device.h>#include <syscalls/eeprom.h>Go to the source code of this file.
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... | |
Public API for EEPROM drivers.