如要使用IEL中断,捕获Z pulse;
EQep1Regs.QEINT.bit.IEL=1;
EQep1Regs.QEPCTL.bit.PCRM=00;
使用该配置,可产生QEP中断;
但将EQep1Regs.QEPCTL.bit.PCRM=01;
后无法产生中断
为什么?
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.
如要使用IEL中断,捕获Z pulse;
EQep1Regs.QEINT.bit.IEL=1;
EQep1Regs.QEPCTL.bit.PCRM=00;
使用该配置,可产生QEP中断;
但将EQep1Regs.QEPCTL.bit.PCRM=01;
后无法产生中断
为什么?