projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MT29F driver: first implementation of read/write functions.
[bertos.git]
/
bertos
/
drv
/
mt29f.h
diff --git
a/bertos/drv/mt29f.h
b/bertos/drv/mt29f.h
index b5c466656c327289af8e6801c85325eb227779ad..c7669232f7065a4aa18502523b95d428a7f8d439 100644
(file)
--- a/
bertos/drv/mt29f.h
+++ b/
bertos/drv/mt29f.h
@@
-74,6
+74,14
@@
#include <cpu/attr.h>
+/**
+ * \name Error codes
+ * \{
+ */
+#define MT29F_ERR_ERASE BV(1) ///< Error erasing a block
+#define MT29F_ERR_WRITE BV(2) ///< Error writing a page
+/** \} */
+
struct Mt29fHardware;
/**