天嵌 ARM开发社区

 找回密码
 注册
查看: 2068|回复: 1

中断问题

[复制链接]
手指恋上烟 发表于 2012-4-27 19:39:55 | 显示全部楼层 |阅读模式
在中断处理函数结束后,清楚中断标志位为什么是将SRCPND该位置1而不是置零?
TQ_guoxixiao 发表于 2012-4-28 09:15:52 | 显示全部楼层
芯片手册有写的:芯片手册379页:
The SRCPND and INTPND registers can be read and written, so the service routine must clear the
pending condition by writing a 1 to the corresponding bit in the SRCPND register first and then clear the pending
condition in the INTPND registers by using the same method.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-30 01:46 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表