Forum Discussion
Altera_Forum
Honored Contributor
21 years agoNios2 interrupt handling
Hi. I have a number of critical placesin my code i am trying to make interupt safe. I guess the way to do, if using HAL functions alt_irq_register() , it is to brucket the critical code with alt_irq_...
Altera_Forum
Honored Contributor
21 years agoThank you for the advice. I found the code. I was trying to convert NIOS1 code to the NIOS2 with minimum changes. I had a macro in the nios1 enabling and disabling interrupts, so i hoped just to change the macro defenition.O well, i guess i will search the code for the macro pair and switch it to the function use. Good point about optimisation. thanks again gera.