Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
eeprom.h File Reference

Public API for EEPROM drivers. More...

#include <zephyr/types.h>
#include <stddef.h>
#include <sys/types.h>
#include <zephyr/device.h>
#include <syscalls/eeprom.h>

Go to the source code of this file.

Functions

int eeprom_read (const struct device *dev, off_t offset, void *data, size_t len)
 Read data from EEPROM.
 
int eeprom_write (const struct device *dev, off_t offset, const void *data, size_t len)
 Write data to EEPROM.
 
size_t eeprom_get_size (const struct device *dev)
 Get the size of the EEPROM in bytes.
 

Detailed Description

Public API for EEPROM drivers.