打印

想用这种方式来改变PWM的输出,有人用过不?

[复制链接]
2271|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
浏览器123|  楼主 | 2012-1-19 19:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
PWM, TI, AD, TE, ST
• Time-Base Period Shadow Mode:
The TBPRD shadow register is enabled when TBCTL[PRDLD] = 0. Reads from and writes to the
TBPRD memory address go to the shadow register. The shadow register contents are transferred to
the active register (TBPRD (Active) ← TBPRD (shadow)) when the time-base counter equals zero
(TBCTR = 0x0000). By default the TBPRD shadow register is enabled.
• Software Forced Synchronization Pulse:
Writing a 1 to the TBCTL[SWFSYNC] control bit invokes a software forced synchronization. This pulse
is ORed with the synchronization input signal, and therefore has the same effect as a pulse on
EPWMxSYNCI.

相关帖子

沙发
张鑫鑫鑫| | 2012-1-19 19:35 | 只看该作者
软件例程里面都有的

使用特权

评论回复
板凳
yangguangaisha| | 2012-1-19 19:53 | 只看该作者
好复杂

使用特权

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

本版积分规则

0

主题

163

帖子

1

粉丝