边沿中断判断

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

边沿中断判断

517 Views
李志强
Contributor I

我在lpc1518的p0_0引脚设置为边沿中断,进中断后,怎么判断是上升沿中断还是下降沿中断?如何做

Labels (1)
0 Kudos
1 Reply

390 Views
jeremyzhou
NXP Employee
NXP Employee

Hi  李 志强,

非常感谢使用NXP产品,很高兴为你提供技术支持!
如果同时设置了上升沿和下降沿中断使能,没有寄存器位用于分别中断触发源的,
Have a great day,
TIC
 
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
0 Kudos