- * \note This implementation is AVR specific.
- */
-
-/*#*
- *#* $Log$
- *#* Revision 1.9 2004/09/14 21:03:46 bernie
- *#* Use debug.h instead of kdebug.h.
- *#*
- *#* Revision 1.8 2004/08/25 14:12:08 rasky
- *#* Aggiornato il comment block dei log RCS
- *#*
- *#* Revision 1.7 2004/08/24 16:48:40 bernie
- *#* Note reason for including <macros.h>
- *#*
- *#* Revision 1.6 2004/08/24 14:27:20 bernie
- *#* Doxygen fix.
- *#*
- *#* Revision 1.5 2004/08/24 13:46:48 bernie
- *#* Include <macros.h>.
- *#*
- *#* Revision 1.4 2004/08/10 06:57:22 bernie
- *#* eeprom_erase(): New function.
- *#*
- *#* Revision 1.3 2004/07/29 22:57:09 bernie
- *#* Add 24LC16 support.
- *#*
- *#* Revision 1.2 2004/07/22 01:24:43 bernie
- *#* Document AVR dependency.
- *#*
- *#* Revision 1.1 2004/07/20 17:11:18 bernie
- *#* Import into DevLib.
- *#*
- *#*/
-
-#include "eeprom.h"
-
-#include <mware/byteorder.h> /* cpu_to_be16() */
-#include <debug.h>
-#include <hw.h>
-#include <macros.h> // MIN()
-
-#include <string.h> // memset()
-
-#include <avr/twi.h>
-
-
-/* Wait for TWINT flag set: bus is ready */
-#define WAIT_TWI_READY do {} while (!(TWCR & BV(TWINT)))
-
-/*! \name EEPROM control codes */
-/*@{*/
-#define SLA_W 0xA0
-#define SLA_R 0xA1
-/*@}*/
-
-
-/*!
- * Send START condition on the bus.
+ * As a special exception, you may use this file as part of a free software
+ * library without restriction. Specifically, if other files instantiate
+ * templates or use macros or inline functions from this file, or you compile
+ * this file and link it with other files to produce an executable, this
+ * file does not by itself cause the resulting executable to be covered by
+ * the GNU General Public License. This exception does not however
+ * invalidate any other reasons why the executable file might be covered by
+ * the GNU General Public License.