Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi,
--- Quote Start --- You have mentioned there is a formal way to set and reset the ienable and status register without implementing directly into the control registers. Which function call are you referring to? --- Quote End --- Please refer the file 'linux-*.*/include/linux/irqflags.h'. For example, 'local_irq_disable()' reset the PIE bit. --- Quote Start --- Do I have to clear the "edge_capture" register in the interrupt handler function? *(ALTERA_BASE_ADDRESS + 0x03) = 0x00 --- Quote End --- Please refer the data sheet of Altera's PIO core. How can you de-assert the interrupt signal for NiosII cpu ? In general, NiosII uses level triggered interruption. Kazu