例程看不太懂,什么时候它会进入中断,中断完它返回到哪里继续执行。怎么利用中断标志位来编程,以及编程的思路怎么想
BR
L.W.
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.
您可以参考链接http://www.mcu123.com/news/Article/UploadFiles/200610/20061009235712479.pdf
http://www.openhw.org/nightseas/blog/11-10/232785_30cd2.html 以及http://www.ti.com/lit/an/slaa208a/slaa208a.pdf
你好,
I2C触发中断条件有很多:start,stop,接收FIFO接收到数据,发送FIFO为空。如果中断被使能的话,上述条件均可触发中断。在中断程序中就可以通过查询中断标志位来得到那个中断源触发的中断。