AVR-LibC  2.3.0git
Standard C library for AVR-GCC
 

AVR-LibC Documen­tation

AVR-LibC Development Pages

Main Page

User Manual

Library Refe­rence

FAQ

Example Projects

File List

Index

Loading...
Searching...
No Matches
Macros | Functions
eeprom.h File Reference

Go to the source code of this file.

Macros

#define EEMEM   __attribute__((__section__(".eeprom")))
 
#define eeprom_is_ready()
 
#define eeprom_busy_wait()   do {} while (!eeprom_is_ready())
 
IAR C compatibility defines
#define _EEPUT(addr, val)   eeprom_write_byte ((uint8_t *)(addr), (uint8_t)(val))
 
#define __EEPUT(addr, val)   eeprom_write_byte ((uint8_t *)(addr), (uint8_t)(val))
 
#define _EEGET(var, addr)   (var) = eeprom_read_byte ((const uint8_t *)(addr))
 
#define __EEGET(var, addr)   (var) = eeprom_read_byte ((const uint8_t *)(addr))
 

Functions

uint8_t eeprom_read_byte (const uint8_t *__p)
 
uint16_t eeprom_read_word (const uint16_t *__p)
 
uint32_t eeprom_read_dword (const uint32_t *__p)
 
uint64_t eeprom_read_qword (const uint64_t *__p)
 
float eeprom_read_float (const float *__p)
 
double eeprom_read_double (const double *__p)
 
long double eeprom_read_long_double (const long double *__p)
 
void eeprom_read_block (void *__dst, const void *__src, size_t __n)
 
void eeprom_write_byte (uint8_t *__p, uint8_t __value)
 
void eeprom_write_word (uint16_t *__p, uint16_t __value)
 
void eeprom_write_dword (uint32_t *__p, uint32_t __value)
 
void eeprom_write_qword (uint64_t *__p, uint64_t __value)
 
void eeprom_write_float (float *__p, float __value)
 
void eeprom_write_double (double *__p, double __value)
 
void eeprom_write_long_double (long double *__p, long double __value)
 
void eeprom_write_block (const void *__src, void *__dst, size_t __n)
 
void eeprom_update_byte (uint8_t *__p, uint8_t __value)
 
void eeprom_update_word (uint16_t *__p, uint16_t __value)
 
void eeprom_update_dword (uint32_t *__p, uint32_t __value)
 
void eeprom_update_qword (uint64_t *__p, uint64_t __value)
 
void eeprom_update_float (float *__p, float __value)
 
void eeprom_update_double (double *__p, double __value)
 
void eeprom_update_long_double (long double *__p, long double __value)
 
void eeprom_update_block (const void *__src, void *__dst, size_t __n)