X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Feeprom.h;h=e1793c284c6ea25bd207460991de831cffe131dc;hb=de2caf08ef2eca066c3d5a40ab91d7f34c3f555e;hp=287a9ce31d8fdd2d79a3ac3cd3874ca705f949fa;hpb=6f8beb702446d9cf0d4474598199357c4b8a5bd2;p=bertos.git diff --git a/drv/eeprom.h b/drv/eeprom.h index 287a9ce3..e1793c28 100755 --- a/drv/eeprom.h +++ b/drv/eeprom.h @@ -15,6 +15,9 @@ /* * $Log$ + * Revision 1.3 2004/08/10 06:57:22 bernie + * eeprom_erase(): New function. + * * Revision 1.2 2004/07/29 22:57:09 bernie * Add 24LC16 support. * @@ -53,6 +56,7 @@ bool eeprom_write(e2addr_t addr, const void *buf, size_t count); bool eeprom_read(e2addr_t addr, void *buf, size_t count); bool eeprom_write_char(e2addr_t addr, char c); int eeprom_read_char(e2addr_t addr); +void eeprom_erase(e2addr_t addr, size_t count); void eeprom_init(void); void eeprom_test(void);