aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/STM32L1xx/stm32_registry.h')
-rw-r--r--os/hal/ports/STM32/STM32L1xx/stm32_registry.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
index 53833f657..dd84ad6b6 100644
--- a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
@@ -65,7 +65,8 @@
#define STM32_HAS_ETH FALSE
/* EXTI attributes.*/
-#define STM32_EXTI_NUM_CHANNELS 23
+#define STM32_EXTI_NUM_LINES 23
+#define STM32_EXTI_IMR_MASK 0xFF800000U
/* GPIO attributes.*/
#define STM32_HAS_GPIOA TRUE
@@ -245,7 +246,8 @@
#define STM32_HAS_ETH FALSE
/* EXTI attributes.*/
-#define STM32_EXTI_NUM_CHANNELS 24
+#define STM32_EXTI_NUM_LINES 24
+#define STM32_EXTI_IMR_MASK 0xFF000000U
/* GPIO attributes.*/
#define STM32_HAS_GPIOA TRUE