input configured pin to detect frequency.
I am using STM32F103C8, in which I want to use pins which are configured as digital input to detect the square wave frequency or the frequency at which the pin is reading high and low.Is it possible without Input capture direct mode?