atmega parameter tarolas?

Dukai Zoltan daemon82 at mailbox.hu
Thu Jun 17 13:56:06 CEST 2004


GCC-ben benne van egy rakas ilyen funkcio. LibC resze.

file:///C:/WinAVR/doc/avr-libc/avr-libc-user-manual/group__avr__eeprom.html
.....
avr-libc declarations
#define 	eeprom_is_ready()   bit_is_clear(EECR, EEWE)
#define 	eeprom_busy_wait()   do {} while (!eeprom_is_ready ())
uint8_t 	eeprom_read_byte (const uint8_t *addr)
uint16_t 	eeprom_read_word (const uint16_t *addr)
void 	eeprom_read_block (void *buf, const void *addr, size_t n)
void 	eeprom_write_byte (uint8_t *addr, uint8_t val)
void 	eeprom_write_word (uint16_t *addr, uint16_t val)
void 	eeprom_write_block (const void *buf, void *addr, size_t n)
.....




More information about the Elektro mailing list