When I use both chanels, what args I need in HAL_TIM_Encoder_Start?
I use CubeMX to configure my timer 2 to use Encoder Mode: "Encoder Mode TI1 and TI2". In my code should I use
HAL_TIM_Encoder_Start(&htim2, TIM_CHANNEL_1)
or
HAL_TIM_Encoder_Start(&htim2, TIM_CHANNEL_2)
or
HAL_TIM_Encoder_Start(&htim2, TIM_CHANNEL_ALL)
or something else?
P.S. What means TI1?
