This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

delay in Zstack

Ti,

    I want a delay function. Which will not CPU, because MicroWait() in Zstack will stop the CPU process. But i dont want. And i can't use  osal_timer also because, I want to sensor value which need many delay function between two sending cmd. 

     Example

                         Send_i2c_Cmd(0x10);Delay_in_micro(40);

                          Send_i2c_Cmd(0x24);Delay_in_milli(10);

                        Send_i2c_Cmd(0x10);Delay_in_milli(35);

                      Send_i2c_Cmd(0x10);Delay_in_micro(10);

I want to use both micro and milli delay. I would like to get suggestion