Description
Allows a task to delay itself for an integral number of clock ticks. The delay can either be relative (delay from current time), periodic (delay occurs at fixed intervals) or absolute (delay until we reach some time).
...
The actual delay time depends on the tick rate (see OS_CFG_TICK_RATE_HZ
if os_cfg_app.h
).
Files
os.h/os_time.c
Prototype
Arguments
dly
is the desired delay expressed in number of clock ticks. Depending on the value of the opt
field, delays can be relative or absolute.
...
If specifying a delay of 0 when the option was set to OS_OPT_TIME_DLY
. Note that a value of 0 is valid when setting the option to OS_OPT_TIME_MATCH
.
Returned Value
None
Required Configuration
None
Callers
Application.
Notes/Warnings
None