I am trying to use the PWM mode as a timer to measure the execution time of a certain code block. Can someone guide me on the steps to get that working. Or point me to some resources that might be handy. I have already reviewed the manuals and data sheet. I am using the Kinetis Design Studio 3.