STM32L486xx HAL User Manual
Defines
Input Configuration Prescaler
TIM Exported Constants

Defines

#define LL_TIM_ICPSC_DIV1   0x00000000U
#define LL_TIM_ICPSC_DIV2   (TIM_CCMR1_IC1PSC_0 << 16U)
#define LL_TIM_ICPSC_DIV4   (TIM_CCMR1_IC1PSC_1 << 16U)
#define LL_TIM_ICPSC_DIV8   (TIM_CCMR1_IC1PSC << 16U)

Define Documentation

#define LL_TIM_ICPSC_DIV1   0x00000000U

No prescaler, capture is done each time an edge is detected on the capture input

Definition at line 784 of file stm32l4xx_ll_tim.h.

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

#define LL_TIM_ICPSC_DIV2   (TIM_CCMR1_IC1PSC_0 << 16U)

Capture is done once every 2 events

Definition at line 785 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ICPSC_DIV4   (TIM_CCMR1_IC1PSC_1 << 16U)

Capture is done once every 4 events

Definition at line 786 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ICPSC_DIV8   (TIM_CCMR1_IC1PSC << 16U)

Capture is done once every 8 events

Definition at line 787 of file stm32l4xx_ll_tim.h.