avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Macro to read /write long to eeprom


From: Branislav Katreniak
Subject: Re: [avr-gcc-list] Macro to read /write long to eeprom
Date: Wed, 10 Aug 2005 11:00:20 +0200
User-agent: Mutt/1.5.9i


> 
> Curious, can you explain that effect?  Is there any reference in the
> datasheet about that?

I suppose that the trick is to check whether the value in eeprom is not
equal to the value being written. If it matches, no write is needed and
you save 9ms. Another trick is not to clear the byte in eeprom before
the write when it is sufficient to only clear bits on order to store the
value into eeprom (you save half of the write). There is some datasheet
on atmel site about this.

This technique saves time when the value being written does not totaly
change.

Brano

-- 
Branislav Katreniak
mailto: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]