Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
eeprom_fake.h File Reference
#include <zephyr/drivers/eeprom.h>
#include <zephyr/fff.h>

Go to the source code of this file.

Functions

 DECLARE_FAKE_VALUE_FUNC (int, fake_eeprom_read, const struct device *, off_t, void *, size_t)
 
 DECLARE_FAKE_VALUE_FUNC (int, fake_eeprom_write, const struct device *, off_t, const void *, size_t)
 
 DECLARE_FAKE_VALUE_FUNC (size_t, fake_eeprom_size, const struct device *)
 
size_t fake_eeprom_size_delegate (const struct device *dev)
 

Function Documentation

◆ DECLARE_FAKE_VALUE_FUNC() [1/3]

DECLARE_FAKE_VALUE_FUNC ( int  ,
fake_eeprom_read  ,
const struct device ,
off_t  ,
void *  ,
size_t   
)

◆ DECLARE_FAKE_VALUE_FUNC() [2/3]

DECLARE_FAKE_VALUE_FUNC ( int  ,
fake_eeprom_write  ,
const struct device ,
off_t  ,
const void *  ,
size_t   
)

◆ DECLARE_FAKE_VALUE_FUNC() [3/3]

DECLARE_FAKE_VALUE_FUNC ( size_t  ,
fake_eeprom_size  ,
const struct device  
)

◆ fake_eeprom_size_delegate()

size_t fake_eeprom_size_delegate ( const struct device dev)