This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What's the difference between os_itv_wait and os_dly_wait?

Hello
I'm a newer to RL-ARM and I found that there're two wait function os_itv_wait and os_dly_wait in RL-ARM. Who can tell me what's the difference between them? For example is it possible to replace os_dly_wait(20) by os_itv_set(20); os_itv_wait()? Thanks.

Parents
  • The os_itv_wait function waits for a periodic time interval after which the RTX kernel wakes up the calling task. You must set the time interval using the os_itv_set function.
    The os_dly_wait function pauses the calling task. The argument delay_time specifies the length of the pause and is measured in number of system_ticks. You can set the delay_time to any value between 1 and 0xFFFE.

Reply
  • The os_itv_wait function waits for a periodic time interval after which the RTX kernel wakes up the calling task. You must set the time interval using the os_itv_set function.
    The os_dly_wait function pauses the calling task. The argument delay_time specifies the length of the pause and is measured in number of system_ticks. You can set the delay_time to any value between 1 and 0xFFFE.

Children