STM32F439xx HAL User Manual
Defines
Encoder Mode
TIM Exported Constants

Defines

#define LL_TIM_ENCODERMODE_X2_TI1   TIM_SMCR_SMS_0
#define LL_TIM_ENCODERMODE_X2_TI2   TIM_SMCR_SMS_1
#define LL_TIM_ENCODERMODE_X4_TI12   (TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)

Define Documentation

#define LL_TIM_ENCODERMODE_X2_TI1   TIM_SMCR_SMS_0

Encoder mode 1 - Counter counts up/down on TI2FP2 edge depending on TI1FP1 level

Definition at line 719 of file stm32f4xx_ll_tim.h.

Referenced by LL_TIM_ENCODER_StructInit().

#define LL_TIM_ENCODERMODE_X2_TI2   TIM_SMCR_SMS_1

Encoder mode 2 - Counter counts up/down on TI1FP1 edge depending on TI2FP2 level

Definition at line 720 of file stm32f4xx_ll_tim.h.

#define LL_TIM_ENCODERMODE_X4_TI12   (TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)

Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input l

Definition at line 721 of file stm32f4xx_ll_tim.h.