SysTimerGetInterval (FUN)

FUNCTION SysTimerGetInterval : RTS_IEC_RESULT

<description>Returns the interval of a timer</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Comment

Return

SysTimerGetInterval

RTS_IEC_RESULT

Input

hTimer

RTS_IEC_HANDLE

<param name=”hTimer” type=”IN”>Handle of the timer</param>

ptIntervalNs

POINTER TO SYSTIME

<param name=”ptIntervalNs” type=”OUT”>Interval of the timer in nanoseconds</param>