Someone can help me with interruptions?

How to schedule interrupts from GPIO (P19) associated with the I2C?
Hello. I tested the i2c_gpio_test application and it works well. But now I want to do the routine care (an LED light to on -> GPIO66, for example) to interrupt with a pulse counter for one of the multiplexed GPIO pins to I2C (pin 19) and did not work. What is the solution?

Thank you very much.