STM32G474xx HAL用户手册
宏定义
外部触发源TIM3
TIM导出常量

宏定义

#define LL_TIM_TIM3_ETRSOURCE_GPIO   0x00000000U
#define LL_TIM_TIM3_ETRSOURCE_COMP1   TIM1_AF1_ETRSEL_0
#define LL_TIM_TIM3_ETRSOURCE_COMP2   TIM1_AF1_ETRSEL_1
#define LL_TIM_TIM3_ETRSOURCE_COMP3   (TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0)
#define LL_TIM_TIM3_ETRSOURCE_COMP4   TIM1_AF1_ETRSEL_2
#define LL_TIM_TIM3_ETRSOURCE_COMP5   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_0)
#define LL_TIM_TIM3_ETRSOURCE_COMP6   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_1)
#define LL_TIM_TIM3_ETRSOURCE_COMP7   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0)
#define LL_TIM_TIM3_ETRSOURCE_TIM2_ETR   TIM1_AF1_ETRSEL_3
#define LL_TIM_TIM3_ETRSOURCE_TIM4_ETR   (TIM1_AF1_ETRSEL_3 | TIM1_AF1_ETRSEL_0)
#define LL_TIM_TIM3_ETRSOURCE_ADC2_AWD1   (TIM1_AF1_ETRSEL_3 | TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0)
#define LL_TIM_TIM3_ETRSOURCE_ADC2_AWD2   (TIM1_AF1_ETRSEL_3 | TIM1_AF1_ETRSEL_2)
#define LL_TIM_TIM3_ETRSOURCE_ADC2_AWD3   (TIM1_AF1_ETRSEL_3 | TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_0)

宏定义文档

#define LL_TIM_TIM3_ETRSOURCE_ADC2_AWD1   (TIM1_AF1_ETRSEL_3 | TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0)

ADC2模拟看门狗1

Definition at line 1103 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_ADC2_AWD2   (TIM1_AF1_ETRSEL_3 | TIM1_AF1_ETRSEL_2)

ADC2模拟看门狗2

Definition at line 1104 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_ADC2_AWD3   (TIM1_AF1_ETRSEL_3 | TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_0)

ADC2模拟看门狗3

Definition at line 1105 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_COMP1   TIM1_AF1_ETRSEL_0

ETR输入连接到COMP1_OUT

Definition at line 1088 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_COMP2   TIM1_AF1_ETRSEL_1

ETR输入连接到COMP2_OUT

Definition at line 1089 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_COMP3   (TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0)

ETR输入连接到COMP3_OUT

Definition at line 1090 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_COMP4   TIM1_AF1_ETRSEL_2

ETR输入连接到COMP4_OUT

Definition at line 1091 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_COMP5   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_0)

ETR输入连接到COMP5_OUT

Definition at line 1093 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_COMP6   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_1)

ETR输入连接到COMP6_OUT

Definition at line 1096 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_COMP7   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0)

ETR输入连接到COMP7_OUT

Definition at line 1099 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_GPIO   0x00000000U

ETR输入连接到GPIO

Definition at line 1087 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_TIM2_ETR   TIM1_AF1_ETRSEL_3

ETR输入连接到TIM2 ETR

Definition at line 1101 of file stm32g4xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_TIM4_ETR   (TIM1_AF1_ETRSEL_3 | TIM1_AF1_ETRSEL_0)

ETR输入连接到TIM4 ETR

Definition at line 1102 of file stm32g4xx_ll_tim.h.