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.

[参考译文] MSPM0L1306:如何禁用计时器 PWM 的输出引脚

Guru**** 1832870 points
Other Parts Discussed in Thread: MSPM0L1303
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1244771/mspm0l1306-how-to-disable-output-pin-of-timer-pwm

器件型号:MSPM0L1306
主题中讨论的其他器件:MSPM0L1303

我尝试使用 PWM 计时器来控制一些输出引脚、但重新配置输出引脚 与 PWM 计时器的链接似乎有点复杂、因此我更喜欢使用中断来唤醒 MCU 并直接控制所需的输出引脚。  

我想知道是否可以禁用 PWM 计时器的输出引脚?

我可以将输出引脚路由到未使用的引脚、但它与一些重要的模拟信号非常接近、因此我不喜欢这样做。

我将  MSPM0L1303用于最终产品、我可以将 PWM 引脚布线到 MCU 内的内部引脚、但不能连接到 MCU 的桥臂上吗?

谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    如果 你不想使用 PWM 函数、你可以只使用定时器作为周期模式来生成中断。