X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fdataflash.h;h=5f8263f8b095a2133bf8ecd4b2917e253aeee95d;hb=df77336404c47819b472ed520ce14f7d337bef82;hp=1da6105be8c9a3bdecde83b841b8066fea11f472;hpb=76212275e24e8de64e16e5d8158c60cd3150ab32;p=bertos.git diff --git a/bertos/drv/dataflash.h b/bertos/drv/dataflash.h index 1da6105b..5f8263f8 100644 --- a/bertos/drv/dataflash.h +++ b/bertos/drv/dataflash.h @@ -30,11 +30,16 @@ * * --> * - * \brief Function library for dataflash AT45DB family (interface). + * \brief Function library for dataflash AT45DB family. * * \version $Id: dataflash.h 21658 2008-06-05 16:42:54Z asterix $ * * \author Daniele Basile + * + * $WIZ$ module_name = "dataflash" + * $WIZ$ module_depends = "kfile" + * $WIZ$ module_configuration = "bertos/cfg/cfg_dataflash.h" + * } */ @@ -44,6 +49,7 @@ #include #include +#include /** * Type definitions for dflash memory. @@ -182,6 +188,7 @@ typedef struct DataflashInfo bool dataflash_init(DataFlash *fd, KFile *ch, DataflashType type, dataflash_setCS_t *setCS, dataflash_setReset_t *setReset); +bool dataflash_diskInit(struct BattFsSuper *d, DataFlash *fd, pgcnt_t *page_array); /** * To test data falsh drive you could use