STM32L486xx HAL User Manual
Defines
External Trigger Filter
TIM Exported Constants

Defines

#define LL_TIM_ETR_FILTER_FDIV1   0x00000000U
#define LL_TIM_ETR_FILTER_FDIV1_N2   TIM_SMCR_ETF_0
#define LL_TIM_ETR_FILTER_FDIV1_N4   TIM_SMCR_ETF_1
#define LL_TIM_ETR_FILTER_FDIV1_N8   (TIM_SMCR_ETF_1 | TIM_SMCR_ETF_0)
#define LL_TIM_ETR_FILTER_FDIV2_N6   TIM_SMCR_ETF_2
#define LL_TIM_ETR_FILTER_FDIV2_N8   (TIM_SMCR_ETF_2 | TIM_SMCR_ETF_0)
#define LL_TIM_ETR_FILTER_FDIV4_N6   (TIM_SMCR_ETF_2 | TIM_SMCR_ETF_1)
#define LL_TIM_ETR_FILTER_FDIV4_N8   (TIM_SMCR_ETF_2 | TIM_SMCR_ETF_1 | TIM_SMCR_ETF_0)
#define LL_TIM_ETR_FILTER_FDIV8_N6   TIM_SMCR_ETF_3
#define LL_TIM_ETR_FILTER_FDIV8_N8   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_0)
#define LL_TIM_ETR_FILTER_FDIV16_N5   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_1)
#define LL_TIM_ETR_FILTER_FDIV16_N6   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_1 | TIM_SMCR_ETF_0)
#define LL_TIM_ETR_FILTER_FDIV16_N8   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_2)
#define LL_TIM_ETR_FILTER_FDIV32_N5   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_2 | TIM_SMCR_ETF_0)
#define LL_TIM_ETR_FILTER_FDIV32_N6   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_2 | TIM_SMCR_ETF_1)
#define LL_TIM_ETR_FILTER_FDIV32_N8   TIM_SMCR_ETF

Define Documentation

#define LL_TIM_ETR_FILTER_FDIV1   0x00000000U

No filter, sampling is done at fDTS

Definition at line 933 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV16_N5   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_1)

fSAMPLING=fDTS/16, N=6

Definition at line 943 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV16_N6   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_1 | TIM_SMCR_ETF_0)

fSAMPLING=fDTS/16, N=8

Definition at line 944 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV16_N8   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_2)

fSAMPLING=fDTS/16, N=5

Definition at line 945 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV1_N2   TIM_SMCR_ETF_0

fSAMPLING=fCK_INT, N=2

Definition at line 934 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV1_N4   TIM_SMCR_ETF_1

fSAMPLING=fCK_INT, N=4

Definition at line 935 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV1_N8   (TIM_SMCR_ETF_1 | TIM_SMCR_ETF_0)

fSAMPLING=fCK_INT, N=8

Definition at line 936 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV2_N6   TIM_SMCR_ETF_2

fSAMPLING=fDTS/2, N=6

Definition at line 937 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV2_N8   (TIM_SMCR_ETF_2 | TIM_SMCR_ETF_0)

fSAMPLING=fDTS/2, N=8

Definition at line 938 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV32_N5   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_2 | TIM_SMCR_ETF_0)

fSAMPLING=fDTS/32, N=5

Definition at line 946 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV32_N6   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_2 | TIM_SMCR_ETF_1)

fSAMPLING=fDTS/32, N=6

Definition at line 947 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV32_N8   TIM_SMCR_ETF

fSAMPLING=fDTS/32, N=8

Definition at line 948 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV4_N6   (TIM_SMCR_ETF_2 | TIM_SMCR_ETF_1)

fSAMPLING=fDTS/4, N=6

Definition at line 939 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV4_N8   (TIM_SMCR_ETF_2 | TIM_SMCR_ETF_1 | TIM_SMCR_ETF_0)

fSAMPLING=fDTS/4, N=8

Definition at line 940 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV8_N6   TIM_SMCR_ETF_3

fSAMPLING=fDTS/8, N=8

Definition at line 941 of file stm32l4xx_ll_tim.h.

#define LL_TIM_ETR_FILTER_FDIV8_N8   (TIM_SMCR_ETF_3 | TIM_SMCR_ETF_0)

fSAMPLING=fDTS/16, N=5

Definition at line 942 of file stm32l4xx_ll_tim.h.