다음을 통해 공유


Timer Reference OAL Interface (Compact 2013)

10/16/2014

The following table shows the functions exported from the timer library for use with other libraries in the OAL.

Programming Elements

Description

g_oalTimer

This global variable exports the timer control block.

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.

OALTimerInit

This function initializes the system timer.

OALTimerUpdate

This function modifies the actual system tick period.

See Also

Reference

Timer Reference