MT29F driver: first implementation of read/write functions.
[bertos.git] / bertos / drv / mt29f.h
index b5c466656c327289af8e6801c85325eb227779ad..c7669232f7065a4aa18502523b95d428a7f8d439 100644 (file)
 #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;
 
 /**