Question
Is there a way to reset the internal prescaler counter in input capture mode?
My timer setup in input capture mode. The ICPrescaler value is set to TIM_ICPSC_DIV2, meaning a capture event will occur on the falling edge of every second pulse.
I need to handle an edge case where I need to "reset" the whole input capture system. If I need to handle a reset in-between the first and second triggers, then the internal prescaler counter will be at 1 when I reset/reconfigure, and then the very next input edge will trigger a capture instead of waiting for the full prescaler count of 2
In order to handle this edge case I need a way to "reset" the internal prescaler counter, however I don't think there is a HAL function to do this.
