How to generate an Interrupt for GPIO in MC9S12XEP100

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

How to generate an Interrupt for GPIO in MC9S12XEP100

跳至解决方案
1,558 次查看
ughadge
Contributor II

Hi , 

I want to write an interrupt for a switch connected to the GPIO input port in MC9S12XEP100, 

I am not able to figure out how to as I am new to this.

How can we raise an interrupt and how to write the code for it ?

1 解答
1,485 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

Please see attached document of how to implement interrupt.

There is also a demo code, it's not for xep100 but method is the same.

Have a nice day

Jun Zhang

在原帖中查看解决方案

1 回复
1,486 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

Please see attached document of how to implement interrupt.

There is also a demo code, it's not for xep100 but method is the same.

Have a nice day

Jun Zhang