21.1.6.7 Time of Flight Measurement Mode

This mode measures the time interval between a rising edge on the window input and a rising edge on the signal input, beginning to increment the timer upon observing a rising edge on the window input, while updating the SMTxCPR register and resetting the timer upon observing a rising edge on the signal input. In the event of two rising edges of the Window signal without a signal rising edge, it will update the SMTxCPW register with the current value of the timer and reset the timer value. See the figures below.

Figure 21-13. Time of Flight Mode, Repeat Acquisition Timing Diagram
Figure 21-14. Time of Flight Mode, Single Acquisition Timing Diagram