MC9S08DN60 Interrupt issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC9S08DN60 Interrupt issue

Jump to solution
890 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
800 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
801 Views
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 Kudos
Reply