Share via


OALTimerGetCount (Windows Embedded CE 6.0)

1/5/2010

This function returns the actual timer value.

Use OALTimerGetCount to implement OALGetTickCount or OALStall when the global timer variable has not been initialized.

Syntax

UINT32 OALTimerGetCount()

Parameters

None.

Return Value

Returns the actual timer value.

Remarks

This function call should also clear the timer interrupt.

For systems with a count and compare timer, you can use this function to implement OALTimerRecharge, OALTimerCountsSinceSysTick, and OALTimerUpdate.

Requirements

Header oal_timer.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Timer Functions