Interrupt handler
Posted: 24 Dec 2009 01:45
Hi
For whatever reason, I cannot get any interrupt handler to be called if that interrupt handler is defined in a module other than Main.
For example, if I take the ME sample code for Interrupts- it works fine on my hardware. If I take the interrupt routine out of the Main module and create a TestInterrupt module, include that in the project, and compile it, the interrupt is never called. Since it is an IVT call, I dont know if scope is an issue here, but I tried including the Timer1Int() procedure in the Definitions section- and that was no help.
Thanks for any help-
Regards
R
For whatever reason, I cannot get any interrupt handler to be called if that interrupt handler is defined in a module other than Main.
For example, if I take the ME sample code for Interrupts- it works fine on my hardware. If I take the interrupt routine out of the Main module and create a TestInterrupt module, include that in the project, and compile it, the interrupt is never called. Since it is an IVT call, I dont know if scope is an issue here, but I tried including the Timer1Int() procedure in the Definitions section- and that was no help.
Thanks for any help-
Regards
R