Nut/OS  4.10.3
API Reference
AVR EEPROM

AVR on-chip EEPROM support. More...

Collaboration diagram for AVR EEPROM:

Functions

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.

Detailed Description

AVR on-chip EEPROM support.


Function Documentation

int OnChipNvMemLoad ( unsigned int  addr,
void *  buff,
size_t  siz 
)

Load data from AVR EEPROM.

Returns:
Allways 0.

Definition at line 81 of file eeprom.c.

References eeprom_read_block(), and EEPROMReadBytes.

Referenced by NutNvMemLoad().

Here is the call graph for this function:

int OnChipNvMemSave ( unsigned int  addr,
CONST void *  buff,
size_t  len 
)

Save data in AVR EEPROM.

Returns:
Allways 0.

Definition at line 96 of file eeprom.c.

References eeprom_read_byte(), eeprom_write_byte(), and EEPROMread.

Referenced by NutNvMemSave().

Here is the call graph for this function: