文件名称:spwm波的生成
文件大小:4.08MB
文件格式:RAR
更新时间:2020-11-27 05:21:16
spwm
/*PWM输出配置说明*/ /* - Prescaler = (TIM3CLK / TIM3 counter clock) - 1 选择timer工作在36MHZ The TIM3 is running at 36 MHz: TIM3 Frequency = TIM3 counter clock/(ARR + 1) = 36 MHz / 3600 = 10 KHz TIM3 Channel1 duty cycle = (TIM3_CCR1/ TIM3_ARR)* 100 */ /*转换周期10K*/