DocID025202 Rev 7
648/1080
RM0365
General-purpose timers (TIM15/TIM16/TIM17)
692
22.4.16 Timer
input
XOR function (TIM15 only)
The TI1S bit in the TIMx_CR2 register, allows the input filter of channel 1 to be connected to
the output of a XOR gate, combining the two input pins TIMx_CH1 and TIMx_CH2.
The XOR output can be used with all the timer input functions such as trigger or input
capture. It is useful for measuring the interval between the edges on two input signals, as
shown in
Figure 265. Measuring time interval between edges on 2 signals
069
7,
7,
7,;257,
&RXQWHU