Nut/OS  5.0.5
API Reference
eeprom.h File Reference
#include <stdint.h>
#include <dev/at24c.h>
Include dependency graph for eeprom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int EEInit (void)
int EEReadData (uint16_t addr, void *data, uint16_t len)
int EEWriteData (uint16_t addr, const void *data, uint16_t len)

Function Documentation

int EEInit ( void  )

References At24cRead(), at24c::ee_mutex, at24c::EepromSize, at24c::IAddrW, NUT_CONFIG_AT24_ADR, NutEventPost(), at24c::PageSize, at24c::SlaveAddress, at24c::Timeout, and TwInit.

Referenced by NutNvMemLoad().

Here is the call graph for this function:

int EEReadData ( uint16_t  addr,
void *  data,
uint16_t  len 
)

References At24cRead().

Referenced by NutNvMemLoad().

Here is the call graph for this function:

int EEWriteData ( uint16_t  addr,
const void *  data,
uint16_t  len 
)

References At24cWrite().

Referenced by NutNvMemSave().

Here is the call graph for this function: