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.
我用的2812,上面说的是QEP电路给定时器提供时钟,但是QEP电路的时钟是谁提供的? 有没有寄存器呢
查看2812的数据手册6.2.2.7 Capture Unit
The input pins CAP1/2 and CAP4/5 can also be used as QEP inputs to the QEP circuit.
Two capture inputs (CAP1 and CAP2 for EVA; CAP4 and CAP5 for EVB) can be used to interface the onchip QEP circuit with a quadrature encoder pulse.