projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove cvs logs. Fix comment.
[bertos.git]
/
drv
/
dataflash.h
diff --git
a/drv/dataflash.h
b/drv/dataflash.h
index f9e4965a4490624614f4c05a1392f13efa884ad5..b739883ca3cf984ec63ca7c815b25142fffc9212 100644
(file)
--- a/
drv/dataflash.h
+++ b/
drv/dataflash.h
@@
-52,6
+52,7
@@
* Type definition for dflash memory.
*/
typedef uint32_t dataflashAddr_t;
* Type definition for dflash memory.
*/
typedef uint32_t dataflashAddr_t;
+typedef uint32_t dataflashOffset_t;
typedef uint32_t dataflashSize_t;
#define RESET_PULSE_WIDTH 10 // Width of reset pulse in usec.
typedef uint32_t dataflashSize_t;
#define RESET_PULSE_WIDTH 10 // Width of reset pulse in usec.
@@
-198,9
+199,10
@@
typedef enum {
DFO_READ_STATUS = 0xD7, ///< Status register read.
DFO_ID_DEV = 0x9F ///< Manufacturer and device ID read.
/* \}*/
DFO_READ_STATUS = 0xD7, ///< Status register read.
DFO_ID_DEV = 0x9F ///< Manufacturer and device ID read.
/* \}*/
-} DFlashOpcode;
+} D
ata
FlashOpcode;
-void dataflash_init(struct _KFile *fd)
+void dataflash_init(struct _KFile *fd);
+void hal_dflash_test(void);
#endif /* DRV_DATAFLASH_H */
#endif /* DRV_DATAFLASH_H */