I am attempting to put the microblaze interrupt line to be edge-sensitive (does not matter if it is rising or falling, or even both).
I've looked everywhere, the documentation, this forums, and the MicroZed chronicles and I still cannot find exactly how to make the microblaze interrupt edge sensitive. Can someone point me to the right direction or let me know what I am doing wrong?
int ret = MICROBLAZE_PVR_INTERRUPT_IS_EDGE(pvr);
pvr.pvr = pvr.pvr | MICROBLAZE_PVR2_INTERRUPT_IS_EDGE_MASK;
ret = MICROBLAZE_PVR_INTERRUPT_IS_EDGE(pvr);
I am attempting to make the microblaze edge sensitive manually with the code above, however this does not work. I am not 100% sure if I should even be touching the PVR registers, but it is the only register that has the keyword that I am looking for, 'edge'.
Please help, I've been stuck with this for a few days now.