[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Problem with eeprom_write_byte
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Problem with eeprom_write_byte |
Date: |
Mon, 7 Jun 2010 21:42:07 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
As Matthias Fechner wrote:
> Is that a wanted behaviour or maybe a bug?
The library functions are not meant to be used in an interrupt-
controlled access scheme. Users who want interrupt controlled EEPROM
writes are expected to create their own library.
That doesn't mean it couldn't be useful to add some inline asm macro
to the header file that implements just the low-level access (where
you have to pass in the IO address from outside, so it's device
independent).
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)