Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi Kazu,
You are right. I have left out the virtual memory to be part of the base address. After I included the MMU, the interrupt handler function trigger when there is a rising edge. 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? I apologize for another dope question regarding clearing the interrupt flag. Do I have to clear the "edge_capture" register in the interrupt handler function? *(ALTERA_BASE_ADDRESS + 0x03) = 0x00 Thanks again, Yeung