STM32F439xx HAL User Manual
Defines
Input Configuration Polarity
TIM Exported Constants

Defines

#define LL_TIM_IC_POLARITY_RISING   0x00000000U
#define LL_TIM_IC_POLARITY_FALLING   TIM_CCER_CC1P
#define LL_TIM_IC_POLARITY_BOTHEDGE   (TIM_CCER_CC1P | TIM_CCER_CC1NP)

Define Documentation

#define LL_TIM_IC_POLARITY_BOTHEDGE   (TIM_CCER_CC1P | TIM_CCER_CC1NP)

The circuit is sensitive to both TIxFP1 rising and falling edges, TIxFP1 is not inverted

Definition at line 701 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_POLARITY_FALLING   TIM_CCER_CC1P

The circuit is sensitive to TIxFP1 falling edge, TIxFP1 is inverted

Definition at line 700 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_POLARITY_RISING   0x00000000U

The circuit is sensitive to TIxFP1 rising edge, TIxFP1 is not inverted

Definition at line 699 of file stm32f4xx_ll_tim.h.

Referenced by LL_TIM_ENCODER_StructInit(), LL_TIM_HALLSENSOR_StructInit(), and LL_TIM_IC_StructInit().