URL: <http://savannah.nongnu.org/bugs/?50501>
Summary: eeprom_update_byte() can reduce wear more Project: AVR C Runtime Library Submitted by: e_l_tang Submitted on: Thu 09 Mar 2017 05:04:53 AM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Percent Complete: 0% Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: 2.0.0 Fixed Release: None _______________________________________________________ Details: If the new value does not contain any 1 bits where the old value contains a 0 bit (ANDing the new value with the old value yields the new value), the cell does not have to be erased and can simply be overwritten with the new value. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?50501> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev