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.

[参考译文] MSPM0C1104:使用 PWM 来打开 LED

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1338624/mspm0c1104-use-pwm-to-turn-on-leds

器件型号:MSPM0C1104

您好、专家:

   您有任何可以在 CCS Theia 1.3.1中共享的示例演示吗?该演示说明了如何使用 PWM 打开/关闭/更改 LED 的占空比?谢谢。

比尔

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

    您好、Bill、

    我们的 SDK 提供了使用 PWM 来驱动 LED 的相关演示代码。  ...:\ti\mspm0_sdk_1_30_00_03\examples\nortos\LP_MSPM0C1104\driverlib\timx_timer_mode_pwm_edge_sleep

    您可以参考以下 API:

    要开启: DL_TimerG_startCounter;

    要关闭、请执行以下操作:DL_TimerG_stopCounter;  

    要更改占空比: DL_TimerG_setCaptureCompareValue

    B.R.

    佐伊

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

    大家好、Zoey:

       非常感谢。

    比尔