Extern interrupt EIF FLAG cannot be cleared

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

Extern interrupt EIF FLAG cannot be cleared

跳至解决方案
2,233 次查看
Harry0001
Contributor II

I used the EIF8 to configuate the interrupt,and i am acknowlaged that the flag can be cleared by writting 1 to EIF8,as the following code shows.However,i checked the register and find that the flag value still is 1!

Please confirm it ,thanks! 

 

Harry0001_1-1677752457106.png

 

0 项奖励
回复
1 解答
2,225 次查看
KarlP
Contributor II

KarlP_0-1677754657416.png

== is a comparison, change it to =

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,226 次查看
KarlP
Contributor II

KarlP_0-1677754657416.png

== is a comparison, change it to =

0 项奖励
回复
2,219 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Also you should use .R instance for clearing status flags.

Here I would recommend to pay attention to following document, especially sections 3.2, as it is sources of issues quite often:
http://www.nxp.com/files/32bit/doc/eng_bulletin/EB758.pdf

 

0 项奖励
回复
2,206 次查看
Harry0001
Contributor II

Thanks for your reply,but the link tell me "Page Not Found",could you send it to my email:fuminhui02@163.com,thanks!

0 项奖励
回复
2,200 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am sorry, link has been changed to:

https://www.nxp.com/docs/en/engineering-bulletin/EB758.pdf

0 项奖励
回复