Forum Discussion
Altera_Forum
Honored Contributor
16 years agoInterrupt handling
Hi,
I connected a counter pin to the PIO in order to generate IRQ every 256 cycles. Appropriate IRQ handler is called after the interrupt triggers. However, after handling the interrupt, the alt_irq_handler stays in the loop because ipending is still set. So, how shall I clear the interrupt request ? Best regards, Joel4 Replies
- Altera_Forum
Honored Contributor
problem solved
- Altera_Forum
Honored Contributor
Hi,
Can you please write how you solved the problem? thanks - Altera_Forum
Honored Contributor
In the handler routine reset the edge register by writing 0 to it or ones ( ones didnt work for me but the manual states it) in dependence of PIO configuration.
regards - Altera_Forum
Honored Contributor
thank you :)