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.

c2000 外部中断 只能对应一个外部 io 口 ?



GPIO_setMode(obj->gpioHandle,GPIO_Number_20,GPIO_20_Mode_GeneralPurpose);
GPIO_setExtInt(obj->gpioHandle,GPIO_Number_20,CPU_ExtIntNumber_1);

// GPIO
GPIO_setMode(obj->gpioHandle,GPIO_Number_21,GPIO_21_Mode_GeneralPurpose);
 GPIO_setExtInt(obj->gpioHandle,GPIO_Number_21,CPU_ExtIntNumber_1);
// GPIO
GPIO_setMode(obj->gpioHandle,GPIO_Number_22,GPIO_22_Mode_GeneralPurpose);

// GPIO
GPIO_setMode(obj->gpioHandle,GPIO_Number_23,GPIO_23_Mode_GeneralPurpose);
 GPIO_setExtInt(obj->gpioHandle,GPIO_Number_23,CPU_ExtIntNumber_1);

我要 3路 io  上跳沿,下跳沿 都要 发生中断,   结果 只能一路 io 发生中断。  c2000  CPU_ExtIntNumber_1  只能选一路作为输入信号?