Forum Discussion

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

Interrupt priority?

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

Other words, IRQ 0 has small priority, IRQ5 has a high priority?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.

    ...

    ...