Stm32f10x external interrupt