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的值是多少?