The following table shows the internal programming elements of the timer library.
| Programming Elements | Description |
|---|---|
| OALCPUIdle | This function puts the CPU or SOC into an idle state. |
| OALTimerRecharge | This function is usually called from the timer interrupt handler to recharge the timer for subsequent system ticks. |
The following table shows the internal programming elements of the timer library for systems with count and compare counters.
| Programming Elements | Description |
|---|---|
| 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. |
| OALTimerSetCompare | This function sets the timer compare value. |
See Also
Timer Reference | Production-Quality OAL Components
Send Feedback on this topic to the authors