37 #include <avr/eeprom.h>
44 while(!eeprom_is_ready());
45 eeprom_write_block(buf, (
unsigned short *)addr, size);
51 while(!eeprom_is_ready());
52 eeprom_read_block(buf, (
unsigned short *)addr, size);
void eeprom_read(eeprom_addr_t addr, unsigned char *buf, int size)
Read data from the EEPROM.
void eeprom_write(eeprom_addr_t addr, unsigned char *buf, int size)
Write a buffer into EEPROM.