|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Driver Operations EEPROM driver operations More...
#include <zephyr/drivers/eeprom.h>
Data Fields | |
| eeprom_api_read | read |
| REQ Read data from EEPROM. | |
| eeprom_api_write | write |
| REQ Write data to EEPROM. | |
| eeprom_api_size | size |
| REQ Get the size of the EEPROM in bytes. | |
Driver Operations EEPROM driver operations
This is the driver API structure any EEPROM driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.
Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.
| eeprom_api_read eeprom_driver_api::read |
REQ Read data from EEPROM.
| eeprom_api_size eeprom_driver_api::size |
REQ Get the size of the EEPROM in bytes.
| eeprom_api_write eeprom_driver_api::write |
REQ Write data to EEPROM.