打印
[ZLG-ARM]

LM3S615的PWM有人用这个的么,求指导

[复制链接]
957|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
los|  楼主 | 2014-4-18 09:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
16.2.3 PWM Signal Generator
The PWM generator takes these pulses (qualified by the direction signal), and generates two
PWM signals. In Count-Down mode, there are four events that can affect the PWM signal: zero,
load, match A down, and match B down. In Count-Up/Down mode, there are six events that can
affect the PWM signal: zero, load, match A down, match A up, match B down, and match B up.
The match A or match B events are ignored when they coincide with the zero or load events. If the
match A and match B events coincide, the first signal, PWMA, is generated based only on the match
A event, and the second signal, PWMB, is generated based only on the match B event.
For each event, the effect on each output PWM signal is programmable: it can be left alone
(ignoring the event), it can be toggled, it can be driven Low, or it can be driven High. These actions
can be used to generate a pair of PWM signals of various positions and duty cycles, which do or
do not overlap. Figure 16-4 shows the use of Count-Up/Down mode to generate a pair of
center-aligned, overlapped PWM signals that have different duty cycles.

如上就是数据手册的原文,请问该PWM是如何使用的如何理解,有范例的么??? 谢谢!!!

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

los

63

主题

192

帖子

2

粉丝