How to use P2020's interrupts in CodeWarriorV10.5?

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

How to use P2020's interrupts in CodeWarriorV10.5?

1,631件の閲覧回数
1475849560
Contributor II

Thanks!

ラベル(1)
2 返答(返信)

1,571件の閲覧回数
Pavel
NXP Employee
NXP Employee

See attached file. This file contains CodeWarrior 10.5.1 test project for the P2020. This project was crated using CodeWarrior wizard.

Read the P2020DS_README.txt file in this project. Redirect output to a debugger console instead of UART driver.

This project uses syscall interrupt.

Change the InterruptHandler(long cause) function in the interrupt.c file.

Add similar code in this function:

                if (cause == 0x500)

                {

                               My_interrupt_handler();

                }

 

Add the My_interrupt_handler() function in your code for interrupts from DUART.

Have a great day,
Pavel Chubakov

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,571件の閲覧回数
1475849560
Contributor II

Thank  you very much!

0 件の賞賛
返信