Copy from blink example to exti
Working example of external interrupt
External Interrupts for GPIO pins. 

Tested with SMT32 f4 Discovery board with PA0 and PE11.