Hi,
I am new to stellaris launchpad and I've worked with AVR controllers. I need to calculate the width of a incoming pulse. In the AVR controller, all I did was enable the Edge capture feature and would start a timer at the beginning edge(interrupt) and the same time also toggle the edge. On the other edge, stop the timer and note the value.
Can this same method be applied for stellaris launchpad also? If yes, then which interrupt in the vector table should I change for rising / falling edge of a particular pin? Also, is it possible to set prescalar for timers? I am using the driverlib for the stellaris launchpad.
Thanks.