How do you write an interrupt for the MC9S08LC60?
Usually there's the Vectornumber_*_* for the MC9S08QE128,
but the LC60 doesn't have the vector number table in the
device .h file. Could you show me how?
The FAQ section of AN2616 briefly describes a number of methods for coding ISRs.
However, perhaps you are using an early version of the header file. The 'LC60 header file contained within CW 6.3 certainly defines macros for the vector numbers. Of course, you can simply use the vector number in lieu of the macro. The vector number is easily determined, by counting backwards the number of words from the reset vector (0xFFFE), to the vector address of interest.
Thank you bigmac. That was a big help. I got it to work following that app. note.
Retrieving data ...