Use timer base and input capture at the same time
I use timer gated mode for a HC-SR04 ultrasonic sensor which needs microsecond delay. Is it possible to use the same timer as time base to get microseconds? if (HAL_TIM_Base_Start(&htim3) != HAL_OK) // time base for usDelay() Error_Handler(); if ...