MC9S08DN60 Interrupt issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MC9S08DN60 Interrupt issue

跳至解决方案
1,701 次查看
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,611 次查看
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,612 次查看
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 项奖励
回复