Nut/OS  5.0.5
API Reference
eeprom.c File Reference
#include <cfg/os.h>
#include <cfg/eeprom.h>
#include <sys/timer.h>
#include <sys/event.h>
#include <stdint.h>
#include <dev/twif.h>
#include <dev/at24c.h>
#include <dev/eeprom.h>
Include dependency graph for eeprom.c:

Defines

#define _DEV_EEPROM_H_

Functions

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

Define Documentation

#define _DEV_EEPROM_H_
 * $Id$
 *

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 EEWriteData ( uint16_t  addr,
const void *  data,
uint16_t  len 
)

References At24cWrite().

Referenced by NutNvMemSave().

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: