Hello
So I'm trying to read a PWM with GPIO and I'm attempting to do it by having an interrupt execute on the rising edge where it will start a timer and then interrupt again on the falling edge and stop a timer. I'm having a problem though changing the interrupt polarity from rising edge to falling edge and back to rising edge.
I'm not using DSP BIOS and I'm using CSL based GPIO and interrupts.
I've also looked into EXTPOL which is the external interrupt polarity register but I have no idea how to write to it.
Any insight would be great.
Thanks