本帖最后由 zhang1911 于 2016-4-1 11:11 编辑
想同时启动stm32的Timer3和Timer4,设置Timer3为主模式,Timer4为从模式,
TIM_SelectMasterSlaveMode(TIM3,TIM_MasterSlaveMode_Enable);
TIM_SelectOutputTrigger(TIM3,TIM_TRGOSource_Enable);
TIM_SelectMasterSlaveMode(TIM4,TIM_MasterSlaveMode_Enable);
TIM_SelectInputTrigger(TIM4,TIM_TS_ITR0);
现在不确定上面红色部分该选择什么模式,求答
|