2022-09-05 01:53 AM
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.
2022-09-05 02:07 AM
Yes you can and it is needless because pin level can be read anytime, while in alternate function too.
2022-09-05 02:59 AM
Could you please elaborate more about how to read pin status in input capture mode.
2022-09-05 03:01 AM
As I am new to the STM32, could you please explain it in more detail.
2022-09-05 03:18 AM
In exactly the same way as when it is set to GPIO input.
JW
2022-09-05 03:36 AM
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.