summaryrefslogtreecommitdiff
path: root/exti
diff options
context:
space:
mode:
Diffstat (limited to 'exti')
-rw-r--r--exti/stm32_exti.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/exti/stm32_exti.h b/exti/stm32_exti.h
index 525a483..f15c0a1 100644
--- a/exti/stm32_exti.h
+++ b/exti/stm32_exti.h
@@ -2,6 +2,21 @@
#include <mmio/mmio.h>
+struct STM32_EXTI_reg_l4_t {
+ volatile uint32_t IMR1;
+ volatile uint32_t EMR1;
+ volatile uint32_t RTSR1;
+ volatile uint32_t FTSR1;
+ volatile uint32_t SWIER1;
+ volatile uint32_t PR1;
+ volatile uint32_t IMR2;
+ volatile uint32_t EMR2;
+ volatile uint32_t RTSR2;
+ volatile uint32_t FTSR2;
+ volatile uint32_t SWIER2;
+ volatile uint32_t PR2;
+};
+
struct STM32_EXTI_reg_wb_t {
volatile uint32_t RTSR1;
volatile uint32_t FTSR1;