aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/f4/exti.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stm32/f4/exti.c')
-rw-r--r--lib/stm32/f4/exti.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/stm32/f4/exti.c b/lib/stm32/f4/exti.c
index 155c21f..f69e99e 100644
--- a/lib/stm32/f4/exti.c
+++ b/lib/stm32/f4/exti.c
@@ -127,6 +127,12 @@ void exti_select_source(u32 exti, u32 gpioport)
case GPIOG:
bits = 0x9;
break;
+ case GPIOH:
+ bits = 0x8;
+ break;
+ case GPIOI:
+ bits = 0x7;
+ break;
}
/* Ensure that only valid EXTI lines are used. */