|
|
avr-libc объявления |
|
|
|
#define |
EEMEM __attribute__((section(".eeprom"))) |
#define |
|
#define |
eeprom_busy_wait() do {} while (!eeprom_is_ready()) |
eeprom_read_byte (const uint8_t
*addr) |
|
eeprom_read_word (const uint16_t
*addr) |
|
void |
eeprom_read_block (void *pointer_ram, const void *pointer_eeprom, size_t n) |
void |
eeprom_write_byte (uint8_t
*addr, uint8_t
value) |
void |
eeprom_write_word (uint16_t
*addr, uint16_t
value) |
void |
eeprom_write_block
(const void *pointer_ram, void *pointer_eeprom, size_t n) |
Макроопределения |
|
_EEPROM_H_ 1 |
|
__need_size_t |
|
XCALL "rcall" |
|
#define |
__EEPROM_REG_LOCATIONS__ 1C1D1E |
_STR2(EXP) _STR1(EXP) |
|
_STR1(EXP) #EXP |
|
_REG_LOCATION_SUFFIX _STR2(__EEPROM_REG_LOCATIONS__) |
|
CR_TAB "\n\t" |
|
IAR C совместимые
макроопределения |
|
|
|
#define |
_EEPUT(addr,
val) eeprom_write_byte ((uint8_t
*)(addr), (uint8_t)(val)) |
#define |
_EEGET(var,
addr) (var) = eeprom_read_byte ((uint8_t
*)(addr)) |
Функции |
|
static uint8_t |
__attribute__ ((always_inline))
eeprom_read_byte(const uint8_t
*addr) |
Переменные |
|
pointer_eeprom |
|
size |
|
static void uint8_t |
value |
static void uint16_t |
value |
pointer_eeprom |
|
size |
Automatically generated by Doxygen 1.5.2 on 21
Dec 2007.