Skip to main content
Visitor II
March 25, 2006
Question

cosmic_interrupts

  • March 25, 2006
  • 2 replies
  • 638 views
Posted on March 25, 2006 at 07:21

cosmic_interrupts

    This topic has been closed for replies.

    2 replies

    irmakci2Author
    Visitor II
    March 25, 2006
    Posted on March 25, 2006 at 05:56

    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;

    }

    Visitor II
    March 25, 2006
    Posted on March 25, 2006 at 07:21

    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