Missing EXTI ports and flag numbers for F4

(Also missing for forthcoming L1)
This commit is contained in:
Karl Palsson
2012-10-22 22:37:44 +00:00
parent 4e4496f70d
commit e55a9e3875
2 changed files with 9 additions and 0 deletions

View File

@@ -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. */