Forum Discussion
Altera_Forum
Honored Contributor
15 years agoInterrupt priority IIR
Hi all, I'm using the NIOSII with an Internal Interrupt Controller (IIR) and 8 IRQ's triggered by PIO edges. I assigned a number to each one of the IRQs which represents it's priority where a l...
Altera_Forum
Honored Contributor
15 years agoHi,
--- Quote Start --- 1. The one in the NIOS II Software Developer's handbook tells me to use two functions: alt_irq_interruptible() and alt_irq_non_interruptible() to "bracket code in a processor-intensive ISR. --- Quote End --- I would use that in order to make your ISR interruptible. --- Quote Start --- 2. In the NIOS II Processor Reference Handbook it tells to enable nested interrupts by setting the status.PIE Register to 1 near the beginnung of an ISR. How? By calling alt_irq_enable_all()? If yes, which argument should I apply? --- Quote End --- I think, this is done by alt_irq_interruptible(). Regards