INtime SDK Help
AdjustRtSystemTimer
INtime SDK v7 > About INtime > INtime Kernel > Time management > AdjustRtSystemTimer

Passes a signed 32-bit quantity to the kernel which it uses to adjust the system timer. Depending on the hardware implementation this may occur immediately or on the next system tick.

The value is not checked for sanity, so caution should be used to avoid unexpected results.

BOOLEAN AdjustRtSystemTimer(
    int iAdjustment
);

Parameters

iAdjustment
The increment to be applied to the system timer hardware's reload value. This is a signed value. The current value may be obtained from the GetSystemTimerValues call.

Remarks

Note: This call is safe for use with interrupt handlers.

Return Values

TRUE
Success
FALSE
To determine the status, call GetLastRtError

Status

E_OK 0x0000
No exceptional conditions occurred.

Requirements

Versions Defined in Include Link to
INtime 6.0 intime/rt/include/rtbase.h rt.h rt.lib
See Also