Question
How to use Two Channel of TIM2 in NUCLEO-073RZ
I Want to use the TIM2 with two channels in "Input capture mode".
CH1--> PA0
CH2-->PA1
Now I have two trigger pulses which I will connect to PA0 and PA1, Signal at PA0 will start the TIM2 and signal at PA1 will stop the TIM2.
So how I can get the counter value of individual channel and calculate the delay between the two trigger pulses?