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 again!
Ok I tried to implement the alt_irq_interruptible() and alt_irq_non_interruptible() functions but I get an undefined reference error:undefined reference to `alt_irq_interruptible'
undefined reference to `alt_irq_non_interruptible'
The <sys/alt_irq.h> headerfile is included. Is there any other headerfile required? I also checked the "HAL API reference" (can be found here: http://www.altera.com/literature/hb/nios2/n2sw_nii52010.pdf) and noticed that both functions are not listed (any longer?). Maybe those are deprecated? What would be the alternative? Thanks in advance!