set i flag when triggering and IRQ