Home/Support/Support Forum/How to schedule interrupts from GPIO (P19) associated with the I2C?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to schedule interrupts from GPIO (P19) associated with the I2C?

0 votes
Hello. I tested the i2c_gpio_test application and it works well. But now I want to do the routine care to interrupt with a pulse counter for one of the multiplexed GPIO pins to I2C (pin 19). What is the solution? Please help me!!!!


Thanks for everything
asked Feb 25, 2010 in Linux by anagil New to the Community (2 points)
recategorized Dec 3, 2013 by tuxembb

Please log in or register to answer this question.

1 Answer

0 votes
Where did you get i2c_gpio_test application ? I do not see it as part of the kit.
Now as far as your question, then you nieed to modify the ISR (Interrupt Service Routine) that is called when particular IRQ is triggered If this example uses GPIO module, then the ISR is in gpio.c file of that module and is gpio_irq_handler() function.
answered Feb 25, 2010 by LeonidM Veteran of the Digi Community (4,445 points)
...