X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Feeprom.h;h=6c6cd9117a78b6e083490769e2600c4a2c74ea14;hb=00bc8478ab5087769fc67e52327934370ee5e3a6;hp=15c565535e343bd77d6d3bc78ef0146fb4e29b94;hpb=ab10db1777ca727e2d239cda21bef6aff3d695a3;p=bertos.git diff --git a/bertos/drv/eeprom.h b/bertos/drv/eeprom.h index 15c56553..6c6cd911 100644 --- a/bertos/drv/eeprom.h +++ b/bertos/drv/eeprom.h @@ -30,19 +30,25 @@ * All Rights Reserved. * --> * - * \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS (interface) + * \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS. * * \version $Id$ * * \author Stefano Fedrigo * \author Bernie Innocenti * + * $WIZARD_MODULE = { + * "name" : "eeprom", + * "depends" : ["kfile"], + * "configuration" : "" + * } */ #ifndef DRV_EEPROM_H #define DRV_EEPROM_H #include + #include @@ -83,7 +89,7 @@ typedef struct Eeprom /** * Convert + ASSERT from generic KFile to Eeprom. */ -INLINE Eeprom * EEPROM(KFile *fd) +INLINE Eeprom * EEPROM_CAST(KFile *fd) { ASSERT(fd->_type == KFT_EEPROM); return (Eeprom *)fd;