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.

GPIO中断问题



专家好,我最近在调试GPIO中断,把一个1Hz的方波信号送到GPIO8号管脚,通过上升沿中断统计脉冲个数,读8号管脚输入值能检测到信号确实已经送到8号管脚了。我首先设置初始化GPIO,再将8号管脚设为输入,设置上升沿中断并清除下降沿中断,所有的这些设置都是参考论坛下载的GPIO例程,但是现在的问题是并没有进入中断(中断服务子程序中执行的是加一的过程),可能是什么原因呢,求专家指教!为谢!