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.

CLA Task中 能否更改MIER

请问一下,CLA Task运行的时候,还能够更改MIER寄存器吗?

我想在运行Task1的时候,封锁下个周期CLA对Task7的响应。

  • 应该是可以的,就像在一个中断服务程序中可以关中断一样。但MIER需要由CPU来设置,所以你要想办法在CLA Task运行之后再更改MIER寄存器。

  • 好的,谢谢你的回答。本来我想能不能直接在CLA中操作MIER的,也只能从CPU中来操作了。