在线时间461 小时
UID2023373
注册时间2013-7-5
NXP金币40
TA的每日心情 | 开心 2018-7-2 06:04 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]初来乍到
金牌会员
 
- 积分
- 6020
- 最后登录
- 2020-9-28
|
发表于 2014-2-27 11:39:07
|
显示全部楼层
回复:KL46Z的SW1和SW2在调试外部中断设置
另外PORTx_PCRn寄存器的中断标志ISF位,是写1清除的。
请阅读参考手册:
Configured interrupt is detected. If the pin is configured to generate a DMA request, then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer. Otherwise, the flag remains set until a logic one is written to the flag. If the pin is configured for a level sensitive interrupt and the pin remains asserted, then the flag is set again immediately after it is
cleared. |
|