TIM_OCMode_PWM1

2019-10-15 07:10发布

这段代码拜托大神给解释一下吧,跪求
TIM_OCInitStructure.TIM_OCMode = TIM_OCMode_PWM1;
TIM_OCInitStructure.TIM_OutputState = TIM_OutputState_Enable;
TIM_OCInitStructure.TIM_Pulse = 0;
TIM_OCInitStructure.TIM_OCPolarity = TIM_OCPolarity_High;
TIM_OC1Init(TIM1, &TIM_OCInitStructure);  

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。