2025-04-29 2:41 AM
Hello,
In my application I need to clear TIM 3 Counter on Rising Edge of an external Pin.
My target MCU is STM32C011
Is there any example available?
Thanks
Alfonso
2025-04-29 4:22 AM
That should do the trick.
2025-05-05 12:17 PM
Thanks for the answer.
This configuration is Edge sensitive or Level Sensitive?
I need the timer to stay Reset when the external signal is High
Thanks
2025-05-05 1:39 PM
Edge, see description of TIMx_SMCR.SMS in RM.
Gated mode is edge sensitive, but that does not reset the timer's counter. You may perhaps combine it with some interrupt which would provide the reset.
JW