Maumita Chakraborty

Need to have interrupt enabled software delay - ZigBee

Discussion created by Maumita Chakraborty on Dec 10, 2007
Latest reply on Dec 11, 2007 by Maumita Chakraborty
Can anyone help me out in the following regard?I want to write a software delay in SMAC where the interrupts are being enabled.I have written a software delay like this:-
My_Delay(int c){
 The interrupts are getting disabled while the program is executing the above delay.It cannot be enabled by forcefully enabling the interrupt (i.e. with the command EnableInterrupts in SMAC).Can anyone suggest a way of writing a simple software delay with interrupts enabled?
I am in urgent need of this.
Best Regards,
Added ZigBee to subject.

Message Edited by NLFSJ on 2007-12-10 11:53 AM