`

STM32-Timer相关

 
阅读更多

 1.TimeBase结构体参数试用范围

    根据stm32f10x_tim.c库文件,在使用TimeBase功能的初始化结构TIM_TimeBaseInitStruct

    TIM_CounterMode适用于TIM1~TIM5,TIM8

    TIM_ClockDivision适用于除TIM6,TIM7以外的所有Timer

    TIM_PeriodTIM_Prescaler适用于所有Timer

    TIM_RepetitionCounter使用于TIM1,TIM8,TIM15~TIM17

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics