为什么会影响到Epwm控制的中断呢?

[复制链接]
1456|2
 楼主| 拿起书本 发表于 2012-12-20 09:55 | 显示全部楼层 |阅读模式
开启了cap中断(上升沿捕捉)之后,为什么会影响到有Epwm1控制的中断呢?
huangfeng33 发表于 2013-12-4 19:35 | 显示全部楼层
关于捕捉单元的中断,2812的英文手册上是这么说的:

Capture Interrupt

When a capture is made by a capture unit and there is already at least one valid value in the FIFO (indicated by CAPxFIFO bits not equal to zero), the corresponding interrupt flag is set, and if unmasked, a peripheral interrupt request is generated. Thus, a pair of captured counter values can be read by an interrupt service routine if the interrupt is used. If an interrupt is not desired, either

the interrupt flag or the status bits can be polled to determine if two captures have occurred allowing the captured counter values to be read
zhangmangui 发表于 2013-12-5 08:48 | 显示全部楼层
楼上很给力
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:好好学习,天天向上!

519

主题

4194

帖子

31

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