TIM

2019-07-21 07:49发布

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
9条回答
happy
2019-07-22 02:37
回复【8楼】正点原子:
---------------------------------
哦   

TIM_ICInitStruct.TIM_Channel=TIM_Channel_1;
TIM_ICInitStruct.TIM_ICPolarity=TIM_ICPolarity_Rising;
TIM_ICInitStruct.TIM_ICSelection=TIM_ICSelection_DirectTI;
TIM_ICInitStruct.TIM_ICPrescaler=TIM_ICPSC_DIV1;
TIM_ICInitStruct.TIM_ICFilter=0x0;
TIM_PWMIConfig(TIM3,&TIM_ICInitStruct);           
  TIM_SelectInputTrigger(TIM3,TIM_TS_TI1FP1);    //这个设置是怎么意思啊     和选通道有区别吗???
TIM_SelectSlaveMode(TIM3,TIM_SlaveMode_Reset);

一周热门 更多>