We have three options to select encoder mode In SMS bits (Slave Mode Selection) of TIMx_SMCR register. Based on the description following each mode in this register, counter counts UP/Down on each TI2FP1/TI1FP2 edge based on the TI1FP2/TI2FP1 level o...