STM32G474xx HAL用户手册
宏定义
TIM触发源选择
TIM导出常量

宏定义

#define TIM_TS_ITR0   0x00000000U
#define TIM_TS_ITR1   TIM_SMCR_TS_0
#define TIM_TS_ITR2   TIM_SMCR_TS_1
#define TIM_TS_ITR3   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1)
#define TIM_TS_ITR4   TIM_SMCR_TS_3
#define TIM_TS_ITR5   (TIM_SMCR_TS_0 | TIM_SMCR_TS_3)
#define TIM_TS_ITR6   (TIM_SMCR_TS_1 | TIM_SMCR_TS_3)
#define TIM_TS_ITR7   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1 | TIM_SMCR_TS_3)
#define TIM_TS_ITR8   (TIM_SMCR_TS_2 | TIM_SMCR_TS_3)
#define TIM_TS_ITR9   (TIM_SMCR_TS_0 | TIM_SMCR_TS_2 | TIM_SMCR_TS_3)
#define TIM_TS_ITR10   (TIM_SMCR_TS_1 | TIM_SMCR_TS_2 | TIM_SMCR_TS_3)
#define TIM_TS_ITR11   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1 | TIM_SMCR_TS_2 | TIM_SMCR_TS_3)
#define TIM_TS_TI1F_ED   TIM_SMCR_TS_2
#define TIM_TS_TI1FP1   (TIM_SMCR_TS_0 | TIM_SMCR_TS_2)
#define TIM_TS_TI2FP2   (TIM_SMCR_TS_1 | TIM_SMCR_TS_2)
#define TIM_TS_ETRF   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1 | TIM_SMCR_TS_2)
#define TIM_TS_NONE   0x0000FFFFU

宏定义文档

#define TIM_TS_ETRF   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1 | TIM_SMCR_TS_2)

滤波后的外部触发输入 (ETRF)

定义于文件 stm32g4xx_hal_tim.h 的第 1114 行。

被以下函数引用: TIM_SlaveTimer_SetConfig().

#define TIM_TS_ITR0   0x00000000U
#define TIM_TS_ITR1   TIM_SMCR_TS_0
#define TIM_TS_ITR10   (TIM_SMCR_TS_1 | TIM_SMCR_TS_2 | TIM_SMCR_TS_3)

内部触发器10 (ITR10)

定义于文件 stm32g4xx_hal_tim.h 的第 1109 行。

被以下函数引用: HAL_TIMEx_ConfigCommutEvent(), HAL_TIMEx_ConfigCommutEvent_DMA(), HAL_TIMEx_ConfigCommutEvent_IT(), 以及 TIM_SlaveTimer_SetConfig().

#define TIM_TS_ITR11   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1 | TIM_SMCR_TS_2 | TIM_SMCR_TS_3)

内部触发器11 (ITR11)

定义于文件 stm32g4xx_hal_tim.h 的第 1110 行。

被以下函数引用: HAL_TIMEx_ConfigCommutEvent(), HAL_TIMEx_ConfigCommutEvent_DMA(), HAL_TIMEx_ConfigCommutEvent_IT(), 以及 TIM_SlaveTimer_SetConfig().

#define TIM_TS_ITR2   TIM_SMCR_TS_1
#define TIM_TS_ITR3   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1)
#define TIM_TS_ITR4   TIM_SMCR_TS_3
#define TIM_TS_ITR5   (TIM_SMCR_TS_0 | TIM_SMCR_TS_3)
#define TIM_TS_ITR6   (TIM_SMCR_TS_1 | TIM_SMCR_TS_3)
#define TIM_TS_ITR7   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1 | TIM_SMCR_TS_3)

内部触发器7 (ITR7)

定义于文件 stm32g4xx_hal_tim.h 的第 1104 行。

被以下函数引用: HAL_TIMEx_ConfigCommutEvent(), HAL_TIMEx_ConfigCommutEvent_DMA(),