X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Feeprom.c;h=c1c5214c83085e43d31730abd5247bd7c60495aa;hb=1121818c76981217b8f9224a20cd084cc4f113a4;hp=9eeb011a96110813474f051e3318d0ee93f33ad1;hpb=0c154bc0927a32f77467f32aac3cc3507baa97ca;p=bertos.git diff --git a/drv/eeprom.c b/drv/eeprom.c old mode 100755 new mode 100644 index 9eeb011a..c1c5214c --- a/drv/eeprom.c +++ b/drv/eeprom.c @@ -1,8 +1,33 @@ -/*! +/** * \file * * * \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS (implementation) @@ -16,6 +41,9 @@ /*#* *#* $Log$ + *#* Revision 1.20 2006/07/19 12:56:25 bernie + *#* Convert to new Doxygen style. + *#* *#* Revision 1.19 2006/03/20 17:49:50 bernie *#* Make the TWI driver more generic to work with devices other than EEPROMS. *#* @@ -68,7 +96,7 @@ -/*! +/** * Copy \c count bytes from buffer \c buf to * eeprom at address \c addr. */ @@ -134,7 +162,7 @@ static bool eeprom_writeRaw(e2addr_t addr, const void *buf, size_t count) #if CONFIG_EEPROM_VERIFY -/*! +/** * Check that the contents of an EEPROM range * match with a provided data buffer. * @@ -194,7 +222,7 @@ bool eeprom_write(e2addr_t addr, const void *buf, size_t count) } -/*! +/** * Copy \c count bytes at address \c addr * from eeprom to RAM to buffer \c buf. * @@ -240,7 +268,7 @@ bool eeprom_read(e2addr_t addr, void *buf, size_t count) } -/*! +/** * Write a single character \a c at address \a addr. */ bool eeprom_write_char(e2addr_t addr, char c) @@ -249,7 +277,7 @@ bool eeprom_write_char(e2addr_t addr, char c) } -/*! +/** * Read a single character at address \a addr. * * \return the requested character or -1 in case of failure. @@ -265,7 +293,7 @@ int eeprom_read_char(e2addr_t addr) } -/*! +/** * Erase specified part of eeprom, writing 0xFF. * * \param addr starting address @@ -290,7 +318,7 @@ void eeprom_erase(e2addr_t addr, size_t count) } -/*! +/** * Initialize TWI module. */ void eeprom_init(void)