+ /**
+ * Current buffered page.
+ */
+ page_t curr_page;
+
+ /**
+ * Temporary buffer cointaing data block to
+ * write on flash.
+ */
+ uint8_t page_buf[SPM_PAGESIZE];
+} FlashAvr;
+/* \} */
+
+void flash_hw_init(struct Flash *fd);
+
+/**
+ * WARNING!
+ * This function is DEPRECADED!
+ * use the flash module instead.
+ */
+INLINE void flash_avr_init(struct FlashAvr *fd)
+{
+ flash_hw_init((struct Flash *)fd);
+}