This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
配置如上图,捕捉上升沿和下降沿。大部分运行时是正确的,但偶尔出现相邻事件间隔只有0个或1个时间周期,也就是6.67ns。
对外则表现为相邻cap捕获寄存器相等,差值为0。
这时查看这个中断来临时的中断标志位,有多个置位,理论上每一时刻,四个中断标志位只能有一个置位,然后进入中断函数。
我的输入波形非常完美不存在毛刺。