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.

程序一直进不了PDPINT中断,请看下我写的有什么问题,还缺少什么

使用的是evb的pdpintb中断

先是

        GpioMuxRegs.GPDMUX.bit.T3CTRIP_PDPB_GPIOD5=1;    //设置外设功能

        GpioMuxRegs.GPDDIR.bit.GPIOD5=1;                     //设置为输出口

        

 Ev中

       EvbRegs.EXTCONB.bit.INDCOE=0;

       EvbRegs.EVBIMRA.bit.PDPINTB=1;

       EvbRegs.EVBIFRA.bit.PDPINTB=1;

主程序中

 

PieCtrl.PIEIER1.bit.INTx2=1; //pdpintb 中断

请问还缺少什么?