你(们)好。

// Step 1 : assign XINT1 from some external input GPIO_SetupXINT1Gpio(104); // Step 2 : configure polarity XintRegs.XINT1CR.bit.POLARITY = 1; // Rising edge interrupt XintRegs.XINT1CR.bit.ENABLE = 1; // Enable XINT1 // Step 3 : assign routine PieVectTable.DMA_CH1_INT = &DMA_CH1_isr; // assigned routine // Step 4 : activate dma channel // Ignore some other DMA CH1 config .... DmaRegs.CH1.MODE.bit.CHINTE = 1; PieCtrlRegs.PIEIER7.bit.INTx1 = 1;