AnsweredAssumed Answered

Interrupt in KL25Z with code warrior 10.3 without PE

Question asked by Amreen Sayyed on Feb 15, 2014
Latest reply on Feb 15, 2014 by Jorge_Gonzalez



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?