How to choose the Timer Input Capture Filter value
I'm using an STM32 to control a DC motor with a dual hall encoder feedback.
To monitor motor position I want to use a General Purpose Timer (16bits) in Encoder Mode.
As my input is noisy, I want to filter the signal using the Input Capture filter.
My problem: I don't find any information about the ICTimer.
Here's what I found in the AN4013 - STM32 cross-series timer overview Application note
> "Program the filter by writing the IC1F[3:0] bits in the CCMRx register, and the prescaler by writing the IC1PSC[1:0] if needed"
What kind of filter is this?
How do I choose the value for IC1F?
What is the cutoff frequency?
Your help is appreciated.

