aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/flash.h')
-rw-r--r--libmaple/flash.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libmaple/flash.h b/libmaple/flash.h
new file mode 100644
index 0000000..741a444
--- /dev/null
+++ b/libmaple/flash.h
@@ -0,0 +1,16 @@
+/**
+ * @brief
+ */
+
+#ifndef _FLASH_H_
+#define _FLASH_H_
+
+#define FLASH_BASE 0x40022000
+#define FLASH_ACR FLASH_BASE
+
+void flash_enable_prefetch(void);
+void flash_set_latency(void);
+
+#endif
+
+