Forum Discussion
Altera_Forum
Honored Contributor
10 years agoquestions about nios interrupts
hi everyone. there are 2 interrupts in my project interrupt A has lower poriority than interrupt B i think if the interrupt B comes when the code is executing the interrupt A's handler, the c...
Altera_Forum
Honored Contributor
10 years agoi find the
alt_irq_interruptible(); alt_irq_non_interruptible(); can be used to make nested interrupts but during debug, i find that only if the higher poriority interrupt happpens before alt_irq_interruptible(), then the code goto higher poriority interrupt handler. but if the higher poriority interrupt happpens after alt_irq_interruptible(), then the code still in the lower poriority interrupt handler . can the nios interrupt system works like the MCU?