Forum Discussion
Altera_Forum
Honored Contributor
20 years agoRegistering more Interrupts
Hello,
after modifying the examples of the tutorial - button interrupts - to a one 1 bit PIO via VHDL access, I put a second 1 bit PIO as an input interrupt. How do I create and then handle those two interrupts parallel and perform the exception control? I didn't find anything about parallel interrupts in the the tutorials or manuals. Either did I find more example code than provided with the button-pio. Thanks in advance. andy1 Reply
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by andy@Nov 15 2005, 05:27 PM after modifying the examples of the tutorial - button interrupts - to a one 1 bit pio via vhdl access, i put a second 1 bit pio as an input interrupt. how do i create and then handle those two interrupts parallel and perform the exception control?i didn't find anything about parallel interrupts in the the tutorials or manuals. either did i find more example code than provided with the button-pio.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10998)
--- quote end ---
--- Quote End --- What do you mean by parallel interrupts? --> you mean two 1-bit PIO components --> then you have two separate IRQs --> you mean a single 2-bit PIO component --> then you have a single interrupt that should be raised when the interrupt condition appear on one of the pins... Paolo