Hi,

I'm not sure if this is a bug or if I'm doing something wrong, maybe
someone could help me here, please.

I have a ATMega168p and I'm using a queuing system to write data to the
eeprom asynchronously.
To do this I use the ISR EE_READY_vect (code is written in C).

But it seems that the function eeprom_write_byte clears the EERIE in the
register EECR, that disables the EE_READY_vect interrupt and I have to
reenable it in every ISR call.

Is that a wanted behaviour or maybe a bug?

Bye
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to