User Activity

What should be the minimum pulse width of the signal which can be detected by the GPIO pin of the STM32 and on which factor this detection depends upon?
Can anyone suggest me some STM32 or any other Microcontroller with 64-bit of Timer and Highest Clock Frequency?
I Want to use the TIM2 with two channels in "Input capture mode". CH1--> PA0CH2-->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 count...