www.beck-ipc.com

@CHIP-RTOS C Library - RTOS API


RTX_GetTickCount

Get tick count of system clock, in milliseconds.

unsigned long RTX_GetTickCount (void);

Return Value

System time in milliseconds

Comments

This 32 bit up count rolls over to zero each each 2**32 real-time interrupts, which is approximately each 1193 hours of continuous operation (= 49.71 days).

For real-time code, see discussion within the RTX_Get_RTI_Ticks documentation concerning use of the _pRti_Tick direct access pointer with in-line code.

SC1x3/SC2x Comments

If the system's real-time interrupt has been configured for rates above 1000 Hz, the count here will differ from that returned by the RTX_Get_RTI_Ticks API.

See Also

RTOS API

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

Related Topics

RTX API   Overview

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.04

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


End of document