EXTI: add code to init exti and handle them