X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Feeprom.c;h=34666aaf437c175cefa06a2341c766cb3a2dde64;hb=b165a5ff4c1db7179cf0277254b50691f5a8b1c2;hp=ebffc596aec464722056f26e691ec6eaa84718ee;hpb=3536ad5ba444a5f230d7ec0504360a3c0b690688;p=bertos.git diff --git a/drv/eeprom.c b/drv/eeprom.c index ebffc596..34666aaf 100755 --- a/drv/eeprom.c +++ b/drv/eeprom.c @@ -15,31 +15,43 @@ * \note This implementation is AVR specific. */ -/* - * $Log$ - * Revision 1.5 2004/08/24 13:46:48 bernie - * Include . - * - * 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. - * - */ +/*#* + *#* $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 + *#* + *#* Revision 1.6 2004/08/24 14:27:20 bernie + *#* Doxygen fix. + *#* + *#* Revision 1.5 2004/08/24 13:46:48 bernie + *#* Include . + *#* + *#* 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 /* cpu_to_be16() */ -#include +#include #include -#include +#include // MIN() #include // memset() @@ -341,8 +353,8 @@ int eeprom_read_char(e2addr_t addr) /*! * Erase specified part of eeprom, writing 0xFF. * - * \param addr starting address - * \param len length of block to erase + * \param addr starting address + * \param count length of block to erase */ void eeprom_erase(e2addr_t addr, size_t count) {