打印

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

[复制链接]
1058|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
拿起书本|  楼主 | 2012-12-20 09:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
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

主题

4195

帖子

31

粉丝