1.硬件方面:选择管脚,QEP3/CAP4/IOPE7:88脚. QEP4/CAP5/IOPF0: 81脚
2.EVB中断,捕获单元4,5的中断使能打开,以及中断标志寄存器。EVBIFRB,EVBMRA。
3.CAPONB设置,检测上升沿还是下降沿
4.SCSR2第6位,Input Qualifier Clocks.
0 The input-qualifier circuitry blocks glitches up to 5 clock cycles long
1 The input-qualifier circuitry blocks glitches up to 11 clock cycles
long
5.