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.

F28035的eCAP的疑问

eCAP模块中有4个CEVT,但我还是希望只用一个CEVT(这样方便,中断时不用判断是哪个CEVT)。我不知道怎样禁止其余的几个?

在“f2803xcap.h"中:

#define ECCTL1_INIT_STATE(CAP1POL_RISING_EDGE+

     CAPLDEN_ENABLE+

CTRRST1_DIFFERENCE_TS+

EVTFLTPS_X_1+

EMULATION_FREE)

是不是只用CEVT1了?