summaryrefslogtreecommitdiff
path: root/flash.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-16 12:27:50 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-16 12:27:50 -0400
commite94427e2d85dfc409a4f89c263d727dedcdb3a52 (patch)
treee91125a04914344753f86b3d3ddfce9b0740f902 /flash.h
parentd7ab57c08b3fed543492cd258c36996d3c5d59b3 (diff)
put flash functions in separate files
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
+