From 26f12903dab2fafeaaefb02349763618ce96d070 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 26 Oct 2015 15:18:58 -0400 Subject: Based on user/ft/stm32-dev-bridge, without the project-specific build directories (and duplicated code). --- include/stm-fmc.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/stm-fmc.h (limited to 'include/stm-fmc.h') 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 +//------------------------------------------------------------------------------ -- cgit v1.2.3