www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - RTOS API


RTX_Sleep_Time

Go to sleep for a specified number of milliseconds.

int RTX_Sleep_Time ( unsigned int time_ms );

Parameters

time_ms

Sleep time in milliseconds.   A zero delay time is translated to 1 millisecond within this API.

Return Value

0 on success else error code.

Comments

The RTX_Wakeup function can wake up a sleeping task before its sleep timer has expired.

If the task has an outstanding wake request pending when it calls here, the task will continue execution immediately without waiting.

For sleep times over 65 seconds, see RTX_Sleep_Long API.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.20V1.20V1.20V1.05

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document