Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

interrupt for dipsw

Altera_Forum
Honored Contributor II
1,146 Views

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 II
433 Views
0 Kudos
Reply