diff options
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx/stm32_registry.h')
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h index ef5c81b77..e7a27f389 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h @@ -109,7 +109,8 @@ #define STM32_HAS_ETH TRUE
/* 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
@@ -406,7 +407,8 @@ #endif
/* 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
@@ -678,7 +680,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
@@ -898,7 +901,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
|