PDK API Guide for J721E
|
===========================================================================
This is the CSL-FL API documentation for the timer_mgr module.
The following sequence of API calls must be followed to properly configure and initialize the timer_mgr.
Enable the desired timers. There are two ways to do this: a) To enable all timers, call the CSL_timermgrEnableAllTimers function. This will enable all timers from 0 .. CSL_timermgrGetMaxTimers. b) Enable (or disable) individual timers by calling the CSL_timermgrSetTimerEnable function for each timer.
If less than half of the available timers are to be enabled initially, it is faster to enable individual timers by calling CSL_timermgrSetTimerEnable with bEnable=true. If more than half of the available timers are to be enabled initially, it is faster to call CSL_timermgrEnableAllTimers and then disable specific timers by calling CSL_timermgrSetTimerEnable with bEnable=false.
Once the timer_mgr has been configured and enabled, the following functions can be called to service the active timers: CSL_timermgrIsTimerExpired CSL_timermgrGetExpiredTimers CSL_timermgrTouchTimer
Sub Modules | |
TIMER_MGR Data Structures | |
TIMER_MGR Enumerated Data Types | |
TIMER_MGR Functions | |