Skip to main content
Visitor II
June 24, 2003
Question

interrupts

  • June 24, 2003
  • 3 replies
  • 872 views
Posted on June 24, 2003 at 08:20

interrupts

    This topic has been closed for replies.

    3 replies

    tyrennarAuthor
    Visitor II
    June 24, 2003
    Posted on June 24, 2003 at 06:34

    I use a ST7LITE0 and I want to enable the interrupts in my program but I don't know what is the instruction in C for this .

    Somebody can help me please .

    http://192/s/kao/otn/imu2.gif

    Visitor II
    June 24, 2003
    Posted on June 24, 2003 at 07:20

    For Hiware Compiler use

    asm RIM; // To enable interrupts

    asm SIM; // To disable interrupts

    For Cosmic Compiler use

    _asm(''RIM''); // To enable interrupts

    _asm(''SIM''); // To disable interrupts

    Hope this helps

    Regards,

    PraveenG
    tyrennarAuthor
    Visitor II
    June 24, 2003
    Posted on June 24, 2003 at 08:20

    Thanks it's function .

    http://www.gamers-forums.com/smilies/kao/chika/chirol_iei.gif