|
avr-libc declarations |
#define | eeprom_is_ready() bit_is_clear(EECR, EEWE) |
unsigned char | eeprom_rb (unsigned int addr) |
unsigned int | eeprom_rw (unsigned int addr) |
void | eeprom_wb (unsigned int addr, unsigned char val) |
void | eeprom_read_block (void *buf, unsigned int addr, size_t n) |
IAR C compatibility defines |
#define | _EEPUT(addr, val) eeprom_wb(addr, val) |
#define | _EEGET(var, addr) (var) = eeprom_rb(addr) |
This header file declares the interface to some simple library routines suitable for handling the data EEPROM contained in the AVR microcontrollers. The implementation uses a simple polled mode interface. Applications that require interrupt-controlled EEPROM access to ensure that no time will be wasted in spinloops will have to deploy their own implementation.