- TIM_OCInitStructure.TIM_OCPolarity = TIM_OCPolarity_Low; //输出极性 低
- TIM_OCInitStructure.TIM_OCNPolarity = TIM_OCNPolarity_High; //互补输出极性 高
- TIM_OCInitStructure.TIM_OCIdleState = TIM_OCIdleState_Set; //在空闲时输出 高
- TIM_OCInitStructure.TIM_OCNIdleState = TIM_OCIdleState_Reset; //在空闲时互补输出 低
- 指定在空闲状态下的TIM输出比较引脚的状态。仅供TIM1和TIM8有效。
TIM_OCIdleState
最新推荐文章于 2024-07-12 16:53:37 发布