STM32F439xx HAL User Manual
Defines
Input Configuration Filter
TIM Exported Constants

Defines

#define LL_TIM_IC_FILTER_FDIV1   0x00000000U
#define LL_TIM_IC_FILTER_FDIV1_N2   (TIM_CCMR1_IC1F_0 << 16U)
#define LL_TIM_IC_FILTER_FDIV1_N4   (TIM_CCMR1_IC1F_1 << 16U)
#define LL_TIM_IC_FILTER_FDIV1_N8   ((TIM_CCMR1_IC1F_1 | TIM_CCMR1_IC1F_0) << 16U)
#define LL_TIM_IC_FILTER_FDIV2_N6   (TIM_CCMR1_IC1F_2 << 16U)
#define LL_TIM_IC_FILTER_FDIV2_N8   ((TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_0) << 16U)
#define LL_TIM_IC_FILTER_FDIV4_N6   ((TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_1) << 16U)
#define LL_TIM_IC_FILTER_FDIV4_N8   ((TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_1 | TIM_CCMR1_IC1F_0) << 16U)
#define LL_TIM_IC_FILTER_FDIV8_N6   (TIM_CCMR1_IC1F_3 << 16U)
#define LL_TIM_IC_FILTER_FDIV8_N8   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_0) << 16U)
#define LL_TIM_IC_FILTER_FDIV16_N5   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_1) << 16U)
#define LL_TIM_IC_FILTER_FDIV16_N6   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_1 | TIM_CCMR1_IC1F_0) << 16U)
#define LL_TIM_IC_FILTER_FDIV16_N8   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_2) << 16U)
#define LL_TIM_IC_FILTER_FDIV32_N5   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_0) << 16U)
#define LL_TIM_IC_FILTER_FDIV32_N6   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_1) << 16U)
#define LL_TIM_IC_FILTER_FDIV32_N8   (TIM_CCMR1_IC1F << 16U)

Define Documentation

#define LL_TIM_IC_FILTER_FDIV1   0x00000000U

No filter, sampling is done at fDTS

Definition at line 676 of file stm32f4xx_ll_tim.h.

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

#define LL_TIM_IC_FILTER_FDIV16_N5   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_1) << 16U)

fSAMPLING=fDTS/16, N=5

Definition at line 686 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV16_N6   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_1 | TIM_CCMR1_IC1F_0) << 16U)

fSAMPLING=fDTS/16, N=6

Definition at line 687 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV16_N8   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_2) << 16U)

fSAMPLING=fDTS/16, N=8

Definition at line 688 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV1_N2   (TIM_CCMR1_IC1F_0 << 16U)

fSAMPLING=fCK_INT, N=2

Definition at line 677 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV1_N4   (TIM_CCMR1_IC1F_1 << 16U)

fSAMPLING=fCK_INT, N=4

Definition at line 678 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV1_N8   ((TIM_CCMR1_IC1F_1 | TIM_CCMR1_IC1F_0) << 16U)

fSAMPLING=fCK_INT, N=8

Definition at line 679 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV2_N6   (TIM_CCMR1_IC1F_2 << 16U)

fSAMPLING=fDTS/2, N=6

Definition at line 680 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV2_N8   ((TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_0) << 16U)

fSAMPLING=fDTS/2, N=8

Definition at line 681 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV32_N5   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_0) << 16U)

fSAMPLING=fDTS/32, N=5

Definition at line 689 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV32_N6   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_1) << 16U)

fSAMPLING=fDTS/32, N=6

Definition at line 690 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV32_N8   (TIM_CCMR1_IC1F << 16U)

fSAMPLING=fDTS/32, N=8

Definition at line 691 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV4_N6   ((TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_1) << 16U)

fSAMPLING=fDTS/4, N=6

Definition at line 682 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV4_N8   ((TIM_CCMR1_IC1F_2 | TIM_CCMR1_IC1F_1 | TIM_CCMR1_IC1F_0) << 16U)

fSAMPLING=fDTS/4, N=8

Definition at line 683 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV8_N6   (TIM_CCMR1_IC1F_3 << 16U)

fSAMPLING=fDTS/8, N=6

Definition at line 684 of file stm32f4xx_ll_tim.h.

#define LL_TIM_IC_FILTER_FDIV8_N8   ((TIM_CCMR1_IC1F_3 | TIM_CCMR1_IC1F_0) << 16U)

fSAMPLING=fDTS/8, N=8

Definition at line 685 of file stm32f4xx_ll_tim.h.