Interrupt in KL25Z with code warrior 10.3 without PE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interrupt in KL25Z with code warrior 10.3 without PE

722件の閲覧回数
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

ラベル(1)
0 件の賞賛
1 返信

284件の閲覧回数
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 件の賞賛