summaryrefslogtreecommitdiff
path: root/include/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h
new file mode 100644
index 0000000..586cde7
--- /dev/null
+++ b/include/flash.h
@@ -0,0 +1,9 @@
+#ifndef GUARD_FLASH_H
+#define GUARD_FLASH_H
+
+void InitFlash(void);
+void ClearFlashData(void);
+s32 ReadFlashData(s32 sector, u8 *dest, s32 size);
+s32 WriteFlashData(s32 sector, u8 *src, s32 size);
+
+#endif // GUARD_FLASH_H