I am new to the Nios II core. I have built a simple system with a timer which is set as periodically timer. I have registered an interrupt service routine:
alt_irq_disable(TIMER_0_IRQ); res = alt_irq_register(TIMER_0_IRQ, NULL, timer_isr);
With this code I still come in my installed ISR. So registering is also enable the interrupt. Is that correct, is there a way to register an ISR and leave the interrupt disabled (until you decide to enable it manually)?
Another question: where can I find a list with available routines for the peripheral. For instance, I saw in an example the call IOWR_ALTERA_AVALON_PIO_DATA to write to my io-pins. But where can I find a complete list. It not in the software developer's handbook.
best regards, Frank