Everything works - mostly! I have a dummy counter in the interrupt handler. When I press and release a button, the dummy counter increases by 2. This tells me that the interrupt is firing on both positive and negative edges. Is there an XGpio function, that tells the handler to trigger only on a certain edge (positive or negative, not both)?
Question
rt54321
Greetings All! I have an Arty Z7, and I'm following michael ee's online tutorial for GPIO interrupts here:
https://www.youtube.com/watch?v=JPVTVNtJ7R4
Everything works - mostly! I have a dummy counter in the interrupt handler. When I press and release a button, the dummy counter increases by 2. This tells me that the interrupt is firing on both positive and negative edges. Is there an XGpio function, that tells the handler to trigger only on a certain edge (positive or negative, not both)?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.