2006-03-24 10:21 PM
2006-03-24 08:56 PM
Hi.When I used functions in lite timer interrupt routine,
Cosmic compiles,but code doesnt run on the board. And I understand that written functions in interrupt routine haven't been seen or I am making a mistake but what can? void lite(void)//example at each 2ms { function()// LTCSR; }2006-03-24 10:21 PM
Hy,
the interrupt function in Cosmic compiler ,need to defined in following sintax : @interrupt void NonHandledInterrupt (void) { /* in order to detect unexpected events during development, it is recommended to set a breakpoint on the following instruction */ return; } For detailed information, please, use ST7 libraries, available on web, that allow either Cosmic either Metrowerks tools. Bye