在处理CAN数据搬运时,为了防止搬运过程中被其他中断打断,需要搬运前打开全局中断和搬运完成后关闭全局中断;
DCAN和MCAN中是否有打开和关闭全局中断的函数接口?有的话能提供一下吗?
如果没有,如何实现打开和关闭全局中断功能,能提供一下具体实例吗?
谢谢
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.
可以使用Hwi_disable,Hwi_enable来打开关闭全局中断。
8.2.4 Enabling and Disabling Interrupts
https://www.ti.com/lit/ug/spruex3v/spruex3v.pdf