I was reading the HL_GPI interrupt usage.https://www.altera.com/support/support-resources/knowledge-base/solutions/rd05162013_937.html Consider i have the factory version of the default fpga image on my kit. Any guide for what is the procedure i need to do to enable the interrupt usage , i 'm trying this in bare metal basis? Tsik.
Hi, first thing to do is clear all the mask, then configure interrupt edge, then write the polarity setting. Finally enable the interrupt. you can find the register accordingly in the TRM. you can try to check the interrupt activation via a register called gpio_intstatus.
Forgot to inform you, there is a example to refer .key word is "GPIO", do check the read me files for more details!https://www.altera.com/support/support-resources/design-examples.html#soc-design-examples