Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

interrupt for dipsw

Altera_Forum
Honored Contributor II
850 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
137 Views
Reply