Yes, it works thanks. Or at least it compile. I've not yet the board under my hands, so I can't try.
Another question:
I've found in an example (from another HCS08 processor) that is possible to declare interrupts like this:
__interrupt VectorNumber_Vadc void ADC_Isr(void)
{
//code
}
where VectorNumber_Vadc is the interrupt vector number.
I think this is preferable, because with the other method I still need to edit the .prm file. Instead with this all the info needed for this interrupt are in .c files. So is more readable.
So what do you think? It's better to use #pragma TRAP_PROC or __interrupt?
Thanks
Bye Jack