aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/include
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/include')
-rw-r--r--libmaple/include/libmaple/exti.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libmaple/include/libmaple/exti.h b/libmaple/include/libmaple/exti.h
index 5259a44..3800b4a 100644
--- a/libmaple/include/libmaple/exti.h
+++ b/libmaple/include/libmaple/exti.h
@@ -38,6 +38,7 @@
extern "C"{
#endif
+#include <series/exti.h> /* provides EXTI_BASE */
#include <libmaple/libmaple_types.h>
/*
@@ -54,9 +55,6 @@ typedef struct exti_reg_map {
__io uint32 PR; /**< Pending register */
} exti_reg_map;
-/** EXTI register map base pointer */
-#define EXTI_BASE ((struct exti_reg_map*)0x40010400)
-
/*
* Types: exti_num, exti_cfg, exti_trigger_mode.
*