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.

执行“PieCtrlRegs.PIEACK.all = PIEACK_GROUP1”后为什么PIEACK寄存器不等于零?



我在外设中断中最后执行写PIEACK语句(如下):

PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;           // PIEACK_GROUP1=0x0001;

但执行后却发现有时候PIEACK=0x0001,而不是0。所以该中断又再次被触发,再被执行。但第二次执行上面这句以后,PIEACK的值就变为0了。请问这是为什么?谢谢热心人帮忙解答!