The PWM timer is running in up-count mode, and this code example allows you to measure the period of any timer and simultaneously outputting USER LED1 in the interrupt handler, allowing you to ...
The example configures TCPWM (Timer, Counter and Pulse Width Modulator) as the Counter mode with User Button2 (USER_BTN2) as input. The button is used as start, reload and stop trigger. In addition, ...