Forum Discussion
Altera_Forum
Honored Contributor
16 years agoproblem with interrupts
I have tried to make a simple interrupt of a push button and when i registered the ISR it immediately started to execute the ISR like it's an endless loop.:confused: Another thing, what is the...
Altera_Forum
Honored Contributor
16 years agoit might be that you are not Resetting the Button's edge capture register. give "IOWR_ALTERA_AVALON_PIO_EDGE_CAP(<BASE ADDRESS OF YOUR BUTTON), 0); "
where the ISR work ends