How to generate an Interrupt for GPIO in MC9S12XEP100

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

How to generate an Interrupt for GPIO in MC9S12XEP100

Jump to solution
1,265 Views
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 Solution
1,192 Views
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

View solution in original post

1 Reply
1,193 Views
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