RM0444
25.4.18
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
266.
Figure 266. Measuring time interval between edges on 2 signals
TI1
TI2
TI1 XOR TI2
Counter
General-purpose timers (TIM15/TIM16/TIM17)
RM0444 Rev 5
MS31400V1
775/1390
830
Need help?
Do you have a question about the STM32G0 1 Series and is the answer not in the manual?
Questions and answers