Set EXTI trigger before enabling