1 post / 0 new
raed
Stm32F4 Timers - ultrasonic

Hi, can any one tell me what this 3 ligne mean in the ultrasonic tutorial :

*TIM_ICstruct.TIM_ICSelection = TIM_ICSelection_DirectTI;
*TIM_ICstruct.TIM_ICPrescaler = TIM_ICPSC_DIV1;
*TIM_ICstruct.TIM_ICFilter = 0x0;

and why do we set timer 4 frequensy to 2Mhz , how can we choose ?

Thank you !