stm32 单个定时器多路捕获测量频率与占空比(排坑)
单个定时器的多个通道可以捕获不同的方波信号1.初始化配置TIM_ICInitStructure.TIM_Channel = TIM_Channel_2; //通道选择TIM_ICInitStructure.TIM_ICPolarity = TIM_ICPolarity_Rising; //上升沿触发TIM_ICInitStructure.TIM_ICSelection = TIM_ICSelection_DirectTI; //管脚与寄存器...