Interrupt in KL25Z with code warrior 10.3 without PE

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

Interrupt in KL25Z with code warrior 10.3 without PE

950 Views
Embionics
Contributor III

Hello,

 

I am working with KL25Z controller with code warrior 10.3.

I have to write a code without Processor expert.

I have written code I2C without processor expert.

 

Now i have to write interrupt for I2C receive and send block.

i have written ISR same as the ISR of i2c generated with processor expert.

 

I have seen that when we add any component and interrupt of that particular component is enable.

Vector.c file gets updated for that particular interrupt.

But we cant modify vector.c file as it is only for processor expert use.

If i modify this file my code is working but after restart of code this modification get cleared.

 

i want to know the Syntax for the interrupt?

How i can generate interrupt?

 

Reg,

Amreen

Labels (1)
0 Kudos
Reply
1 Reply

512 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Amreen:

Please take a look at my reply to your other thread:

Interrupt in I2C

If you have any doubts do not hesitate to ask. As the other thread has more inputs, it may be better if you reply there.

Regards!

Jorge Gonzalez

0 Kudos
Reply