summaryrefslogtreecommitdiff
path: root/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/flash.h b/flash.h
new file mode 100644
index 0000000..c1de542
--- /dev/null
+++ b/flash.h
@@ -0,0 +1,11 @@
+#ifndef FLASH_H_
+#define FLASH_H_
+
+#include "globals.h"
+
+void initFlash(FlashStruct *mem);
+int readUserBlock(FlashStruct *mem);
+void writeUserBlock(FlashStruct *mem, int addr, int numbytes);
+
+#endif
+