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.
![](GUID-394338F8-7B1D-453C-9065-422B25A596B4-low.png)
![](GUID-8C097549-F72C-444E-983A-047A5CB88340-low.png)