MC9S08DN60 Interrupt issue

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

MC9S08DN60 Interrupt issue

ソリューションへジャンプ
1,679件の閲覧回数
vikassubramani
Contributor II

I am using a UART RX interrupt. The interrupt works fine but on the terminal it says syntax error i have attached the picture on how it looks like please let me know what changes i will have to make

ラベル(1)
0 件の賞賛
返信
1 解決策
1,589件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi vikas,

please follow interrupt syntax like this:

interrupt 17 void   isr_routine_name(void)

{

    < your code ...>

}

this should fix the problem.

=========================================

this answer is for you, if it helps, please click on "correct answer" button. thanks!

Best Regards,

ZhangJun

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,590件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi vikas,

please follow interrupt syntax like this:

interrupt 17 void   isr_routine_name(void)

{

    < your code ...>

}

this should fix the problem.

=========================================

this answer is for you, if it helps, please click on "correct answer" button. thanks!

Best Regards,

ZhangJun

0 件の賞賛
返信