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 priority?

Altera_Forum
Honored Contributor II
1,112 Views

The number of IRQ is the same as number of priority? 

Other words, IRQ 0 has small priority, IRQ5 has a high priority?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
354 Views

from Nios Software Handbook chapter 6-6 page 101 

 

Registering an ISR with alt_irq_register() 

 

... 

... 

■ id is the hardware interrupt number for the device, as defined in 

system.h. Interrupt priority corresponds inversely to the IRQ 

number. Therefore, IRQ 0 represents the highest priority interrupt 

and IRQ 31 is the lowest. 

... 

...
0 Kudos
Reply