Recently in written in HAL library input capture a stm32l1 series, finally finished the always can't get the value, bosses to look at together, finally the if ((htim - & gt; Channel==HAL_TIM_ACTIVE_CHANNEL_2) always cannot meet the conditions, what is my little configuration?