我采用定时器输出PWM波形,不知道怎么关掉定时器从而关断PWM输出,
我这样试了,貌似不行:TA0CTL |=MC_0+TACLR;
现阶段只能通过设置引脚为输入来关断PWM输出,当再次把引脚设置为功能引脚时,发现定时器仍然在运行。。。。
第一次使用MSP430,见笑了,
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我采用定时器输出PWM波形,不知道怎么关掉定时器从而关断PWM输出,
我这样试了,貌似不行:TA0CTL |=MC_0+TACLR;
现阶段只能通过设置引脚为输入来关断PWM输出,当再次把引脚设置为功能引脚时,发现定时器仍然在运行。。。。
第一次使用MSP430,见笑了,