aboutsummaryrefslogtreecommitdiff
path: root/include/stm-fmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stm-fmc.h')
-rw-r--r--include/stm-fmc.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/stm-fmc.h b/include/stm-fmc.h
new file mode 100644
index 0000000..196d65e
--- /dev/null
+++ b/include/stm-fmc.h
@@ -0,0 +1,23 @@
+//------------------------------------------------------------------------------
+// stm-fmc.h
+//------------------------------------------------------------------------------
+
+
+//------------------------------------------------------------------------------
+// Headers
+//------------------------------------------------------------------------------
+#include "stm32f4xx_hal.h"
+
+
+//------------------------------------------------------------------------------
+// Prototypes
+//------------------------------------------------------------------------------
+void fmc_init(void);
+
+int fmc_write_32(uint32_t addr, uint32_t *data);
+int fmc_read_32(uint32_t addr, uint32_t *data);
+
+
+//------------------------------------------------------------------------------
+// EOF
+//------------------------------------------------------------------------------