From e55a9e387560924a157d60b29a3aa49300b9b456 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 22 Oct 2012 22:37:44 +0000 Subject: Missing EXTI ports and flag numbers for F4 (Also missing for forthcoming L1) --- lib/stm32/f4/exti.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') 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. */ -- cgit v1.2.3