OS_USE_WAITING_WITH_TIME_OUT definition

When the OS_USE_WAITING_WITH_TIME_OUT constant is set to 0 and timer objects are not used (OS_USE_TIMER is set to 0), the whole system code, used for time management, will be removed.

The wait functions allow passing a timeout parameter that defines how long a task should wait for an object. Timeout values other than 0 (OS_IGNORE) and OS_INFINITE can be specified when the OS_USE_WAITING_WITH_TIME_OUT is set to 1.

The values of osSleep function parameter, other than 0 (OS_IGNORE) can be specified when the OS_USE_WAITING_WITH_TIME_OUT is set to 1.

SpaceShadow documentation