X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fdrv%2Fdataflash.h;h=8fd3a4f7f8a642abf08b3898c527b541ded61c0a;hb=a2fc2366ad564f11e705703ed1f42b7dc499a47c;hp=e9ef00af9a37be0c956d7b03d41d5e5f98fd0f0e;hpb=44f501a2cd0ff526d5a0c46a20f0940c5656d402;p=bertos.git diff --git a/bertos/drv/dataflash.h b/bertos/drv/dataflash.h index e9ef00af..8fd3a4f7 100644 --- a/bertos/drv/dataflash.h +++ b/bertos/drv/dataflash.h @@ -30,9 +30,9 @@ * * --> * - * \brief Function library for AT45DB081D Flash memory. + * \brief Function library for dataflash AT45DB family (interface). * - * \version $Id: dataflash.h 20677 2008-02-19 14:29:52Z batt $ + * \version $Id: dataflash.h 21658 2008-06-05 16:42:54Z asterix $ * * \author Daniele Basile */ @@ -183,4 +183,15 @@ typedef struct DataflashInfo bool dataflash_init(KFileDataflash *fd, KFile *ch, DataflashType type, dataflash_setCS_t *setCS, dataflash_setReset_t *setReset); +/** + * To test data falsh drive you could use + * this functions. To use these functions make sure to include in your make file the + * drv/datafalsh_test.c source. + * + * (see drv/datafalsh_test.c for more detail) + */ +int dataflash_testSetUp(void); +int dataflash_testRun(void); +int dataflash_testTearDown(void); + #endif /* DRV_DATAFLASH_H */