@CHIP-RTOS C Library V2.06 - RTOS API
RTX_Get_System_Ticks
Get tick count of system clock, in
milliseconds. void RTX_Get_System_Ticks ( unsigned long far *ticks ); Parameters
ticks
- Output parameter: System time in milliseconds.
Return Value
- -- none --
Comments
- This 32 bit up count rolls over to zero each 2**32 milliseconds,
which is approximately each 1193 hours of continuous operation
(= 41.71 days).
The alternate C-library API
RTX_GetTickCount may provide
a more comfortable access to the same value.
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 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.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|