Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

interrupt for dipsw

trying to catch interrupt from user HPS dipsw and user FPGA dipsw on Altera EVB.

Using updated HWLIB 13.1-0.02 and GHRD from quartus 13.1

Follow example Altera-SoCFPGA-HardwareLib-16550-CV-GNU trying to do:

alt_int_isr_register(ALT_INT_INTERRUPT_FPGA_MAN_IRQ, irq_callback, buffer);

alt_int_dist_enable(ALT_INT_INTERRUPT_FPGA_MAN_IRQ);

What is IRQ number for both DIPSW?

I am planning to do the same for push buttons, so same questions is which IRQ number to use.