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
Timer Reference | Production-Quality OAL Components
Send Feedback on this topic to the authors