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

[复制链接]
2745|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

粉丝
快速回复 在线客服 返回列表 返回顶部