@CHIP-RTOS C Library - RTOS API
Get tick count of system clock, in
void RTX_Get_System_Ticks ( unsigned long far *ticks );
- Output parameter: System time in milliseconds.
- -- none --
- This 32 bit up count rolls over to zero each 2**32 milliseconds,
which is approximately each 1193 hours of continuous operation
(= 49.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
concerning use of the
direct access pointer with in-line code.
- If the system's real-time interrupt has been
for rates above 1000 Hz,
the count here will differ from that
returned by the RTX_Get_RTI_Ticks
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
for more details.
- RTX API Overview
Supported since or modified in @CHIP-RTOS version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document