Nut/OS  4.10.3
API Reference
nvmem.h File Reference

Header file for non-volatile memory access. More...

#include <cfg/eeprom.h>
#include <sys/types.h>
Include dependency graph for nvmem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int NutNvMemLoad (unsigned int addr, void *buff, size_t siz)
 Read data from non-volatile memory.
int NutNvMemSave (unsigned int addr, CONST void *buff, size_t len)
 Save data in non-volatile memory.
int OnChipNvMemLoad (unsigned int addr, void *buff, size_t siz)
 Load data from AVR EEPROM.
int OnChipNvMemSave (unsigned int addr, CONST void *buff, size_t len)
 Save data in AVR EEPROM.
int NutNvMemLock (void)
int NutNvMemUnlock (void)

Detailed Description

Header file for non-volatile memory access.

 *
 * $Log$
 * Revision 1.4  2009/01/17 11:26:47  haraldkipp
 * Getting rid of two remaining BSD types in favor of stdint.
 * Replaced 'u_int' by 'unsinged int' and 'uptr_t' by 'uintptr_t'.
 *
 * Revision 1.3  2006/07/05 07:45:29  haraldkipp
 * Split on-chip interface definitions.
 *
 * Revision 1.2  2006/05/25 09:09:57  haraldkipp
 * API documentation updated and corrected.
 *
 * Revision 1.1  2006/01/23 17:26:19  haraldkipp
 * Platform independant routines added, which provide generic access to
 * non-volatile memory.
 *
 *
 * 

Definition in file nvmem.h.


Function Documentation

int NutNvMemLock ( void  )
int NutNvMemUnlock ( void  )