TI中文支持网
TI专业的中文技术问题搜集分享网站

epwm周期

  PWM_setHighSpeedClkDiv(myPwm1, PWM_HspClkDiv_by_2);     // Clock ratio to SYSCLKOUT

PWM_setClkDiv(myPwm1, PWM_ClkDiv_by_2);

其中PWM_HspClkDiv_by_2=(1<<7),PWM_ClkDiv_by_2=(1<<10),这两语句是不是表示 PWM_HspClkDiv_by_2=128,PWM_ClkDiv_by_2=1024?

dongyang Zhao:

回复 囧:

PWM_HspClkDiv_by_2=(1<<7),PWM_ClkDiv_by_2=(1<<10),那PWM_HspClkDiv和PWM_ClkDiv的值是多少?

赞(0)
未经允许不得转载:TI中文支持网 » epwm周期
分享到: 更多 (0)