Timer Functions (Windows CE 5.0)
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. |
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. |
See Also
Timer Reference | Production-Quality OAL Components
Send Feedback on this topic to the authors