|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Data Structures | |
| struct | eeprom_driver_api |
| Driver Operations EEPROM driver operations More... | |
Typedefs | |
| typedef int(* | eeprom_api_read) (const struct device *dev, off_t offset, void *data, size_t len) |
| Callback API upon reading from the EEPROM. | |
| typedef int(* | eeprom_api_write) (const struct device *dev, off_t offset, const void *data, size_t len) |
| Callback API upon writing to the EEPROM. | |
| typedef size_t(* | eeprom_api_size) (const struct device *dev) |
| Callback API upon getting the EEPROM size. | |
This group contains the API type definitions, callback signatures, and other helpers required to implement a EEPROM driver.
#include <zephyr/drivers/eeprom.h>
Callback API upon reading from the EEPROM.
See eeprom_read() for argument description
#include <zephyr/drivers/eeprom.h>
Callback API upon getting the EEPROM size.
See eeprom_get_size() for argument description
| typedef int(* eeprom_api_write) (const struct device *dev, off_t offset, const void *data, size_t len) |
#include <zephyr/drivers/eeprom.h>
Callback API upon writing to the EEPROM.
See eeprom_write() for argument description