Share via


Timer Functions (Windows Embedded CE 6.0)

1/5/2010

The following table shows the Timer functions.

Programming Element Description

OALCPUIdle

This function puts the CPU or SOC into an idle state.

OALGetTickCount

This function returns the number of 1-millisecond ticks that have elapsed since the last system boot or reset.

OALStall

This function stalls the CPU for a specified number of microseconds.

OALTimerCountsSinceSysTick

This function returns the time that has expired since the current system tick.

OALTimerGetCompare

This function returns the timer compare value.

OALTimerGetCount

This function returns the actual timer value.

OALTimerInitCount

This function initializes the system timer with a specified base period.

OALTimerInit

This function initializes the system timer.

OALTimerIntrHandler

This function implements the timer interrupt handler.

OALTimerQueryPerformanceCounter

This function returns the current performance counter.

OALTimerQueryPerformanceFrequency

This function returns the current performance frequency.

OALTimerRecharge

This function is usually called from the timer interrupt handler to recharge the timer for subsequent system ticks.

OALTimerSetCompare

This function sets the timer compare value.

OALTimerUpdate

This function modifies the actual system tick period.

OALTimerUpdateRescheduleTime

This function reprograms the system timer.

See Also

Reference

Timer Reference

Concepts

Production-Quality OAL Components