Forum Discussion
Altera_Forum
Honored Contributor
15 years agopush_button irq handler question
Hi, I use NEEK CycloneIII (CP3C25). App is quite simple it turns on the led corresponding the push button pressed (see code below). I copied irq handler procedure from standard binary_counter.c ...
Altera_Forum
Honored Contributor
15 years agoHi,
Thanks to everybody for advises. I tried to put IOWR_ALTERA_AVALON_PIO_DATA(...) in the handler, but it didn't help either. One thing I noticed that in a debug mode when i press button once there is a number of interrups occur. Can it be because of the button bounce?