Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
761 Views

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.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
48 Views

Reply