请问,我有使用PIEIER1.bit.INTx5设置为1或0来将中断开启或关闭,
但是为确保开启后,PIEIFR1.bit.INTx5(标志)為0 (因为它的接口一直有讯号近来,而我想要在开启后才侦测),
我可否将PIEIFR1.bit.INTx5手动设置为0
或者有其他方法可以清除INTx5的标志
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.
请问,我有使用PIEIER1.bit.INTx5设置为1或0来将中断开启或关闭,
但是为确保开启后,PIEIFR1.bit.INTx5(标志)為0 (因为它的接口一直有讯号近来,而我想要在开启后才侦测),
我可否将PIEIFR1.bit.INTx5手动设置为0
或者有其他方法可以清除INTx5的标志
你是在IER disable的情况下清除的IFR,应该是和http://www.ti.com/lit/ug/sprufb0d/sprufb0d.pdf p.121 Method 2的情况类似。