How to enable/disable all interrupts for S32K344?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to enable/disable all interrupts for S32K344?

跳至解决方案
1,150 次查看
JamesLIUHX
Contributor II

Hello,

I am porting the CCP protocol stack on S32K344 and need to disable/enable all interrupts. How to do it?

Thanks a lot!

0 项奖励
回复
1 解答
1,136 次查看
YanyiQiu
Contributor III

__asm("cpsid i");       __asm("cpsie i"); 

在原帖中查看解决方案

2 回复数
1,121 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@JamesLIUHX

YanyiQiu's answer is right.

0 项奖励
回复
1,137 次查看
YanyiQiu
Contributor III

__asm("cpsid i");       __asm("cpsie i");