cancel
Showing results for 
Search instead for 
Did you mean: 

interrupts

tyrennar
Associate II
Posted on June 24, 2003 at 08:20

interrupts

3 REPLIES 3
tyrennar
Associate II
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

parveen
Associate II
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
tyrennar
Associate II
Posted on June 24, 2003 at 08:20

Thanks it's function .

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