Hi community,
I'm using CodeWarrior 11.0 and when trying to run an example for the s12zvl found out a syntax error:
interrupt VectorNumber_Vtim0ch3 void TIMER0_CHANNEL3_ISR(void)
Why is this marked as a syntax error?, How should be the correct declaration?
Best regards
Solved! Go to Solution.
Hello Alexis Hernandez,
What about the syntax error message?
There is a DOC about how to configure the interrupt function on CW for S12Z ,
you can have a look :
How to write interrupt function in codewarrior10.7
Or you can also refer to the demo code under CodeWarrior:
CW MCU v11.0\MCU\CodeWarrior_Examples\Processor_Expert\HCS12Z
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Alexis Hernandez,
What about the syntax error message?
There is a DOC about how to configure the interrupt function on CW for S12Z ,
you can have a look :
How to write interrupt function in codewarrior10.7
Or you can also refer to the demo code under CodeWarrior:
CW MCU v11.0\MCU\CodeWarrior_Examples\Processor_Expert\HCS12Z
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Alice,
It's nice to hear from you again. Indeed, my question is the same as the one showed in the Link that you provided (sorry, i looked for something similar but didn't find that post, otherwise i would not asked the same).
The sysntax error message just appears in the editor (nothing in the Console or "Problems" Tab):
The provided Technical Note TN101 was really clear, now this syntax has completely sense for me.
Is there any other technical note or any other kind of documentation regarding the creation/ modification of a PRM file?.
(I will mark this thread as answered because the information required was already solved, that last comment about the PRM files is just a "nice to have" combined with the Technical Note).
Thanks for your support! :smileyhappy:
Best Regards