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.

CC2538 用 HAL 库 怎么生成PWM?

Other Parts Discussed in Thread: CC2538

最近在研究使用2538的库开发,其中的HAL库中没有关于如何生成PWM信号的介绍,谁知道使用HAL库怎么产生PWM?

难道如要用定时器中断,自己做一个模拟PWM吗?

一般的定时器都具备自动产生PWM信号功能啊,看了一些资料说使用定时器的“输出比较模式”可以,但是具体是怎样做的,还是不明白。

谢谢指导!!