STM32G474xx HAL用户手册
宏定义
时钟分频
TIM导出常量

宏定义

#define LL_TIM_CLOCKDIVISION_DIV1   0x00000000U
#define LL_TIM_CLOCKDIVISION_DIV2   TIM_CR1_CKD_0
#define LL_TIM_CLOCKDIVISION_DIV4   TIM_CR1_CKD_1

宏定义文档

#define LL_TIM_CLOCKDIVISION_DIV1   0x00000000U

tDTS=tCK_INT

定义于行 686 of file stm32g4xx_ll_tim.h.

参考于 LL_TIM_StructInit().

#define LL_TIM_CLOCKDIVISION_DIV2   TIM_CR1_CKD_0

tDTS=2*tCK_INT

定义于行 687 of file stm32g4xx_ll_tim.h.

#define LL_TIM_CLOCKDIVISION_DIV4   TIM_CR1_CKD_1

tDTS=4*tCK_INT

定义于行 688 of file stm32g4xx_ll_tim.h.