26.1.6.5 Windowed Measurement Mode
This mode measures the duration of the window input (WSEL) to the SMT. It begins incrementing the timer on a rising edge of the window input, and updates the SMTxCPR register with the value of the timer and resets the timer on a second rising edge. See the figures below.