I would like to change the pin configuration from GPIO Input to INPUT_CAPTURE_MODE_Channel in the code (dynamically). How to achieve this ?I'm using STM32F103CBT6.Please Help. Thank you.
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?
Like I want to detect the frequency and also it should work GPIO input whenever I want, that's why I am searching for method to switch those functionalities or is it possible while the pin is in input capture mode.