39 #ifndef CSL_TIMER_MGR_H_ 40 #define CSL_TIMER_MGR_H_ 48 #include <ti/csl/cslr_timer_mgr.h> int32_t CSL_timermgrEnableAutoReset(CSL_TimermgrCfg *pCfg, uint32_t timerNum, bool bEnable)
Enable or disable the auto reset function for a timer.
int32_t CSL_timermgrTouchTimer(CSL_TimermgrCfg *pCfg, uint32_t timerNum)
Touch a timer.
int32_t CSL_timermgrIsTimerExpired(CSL_TimermgrCfg *pCfg, uint32_t timerNum)
Return expiration status for a timer.
CSL_timer_mgr_oesRegs * pOesRegs
Definition: csl_timer_mgr.h:138
int32_t CSL_timermgrSetEventIdx(CSL_TimermgrCfg *pCfg, uint32_t timerNum, uint32_t eventIdx)
Set the event index for a timer.
int32_t CSL_timermgrEnableAllTimers(CSL_TimermgrCfg *pCfg)
Enables all timers.
uint32_t CSL_timermgrGetExpiredTimers(CSL_TimermgrCfg *pCfg, uint32_t *pExpiredTimerNums)
Return a list of expired timers.
Timer Manager configuration.
Definition: csl_timer_mgr.h:134
int32_t CSL_timermgrGetEventIdx(CSL_TimermgrCfg *pCfg, uint32_t timerNum)
Get the event index for a timer.
uint32_t CSL_timermgrGetMaxTimers(const CSL_TimermgrCfg *pCfg)
Return maximum number of timers available or being monitored.
CSL_timer_mgrRegs * pCfgRegs
Definition: csl_timer_mgr.h:136
int32_t CSL_timermgrSetTimerEnable(CSL_TimermgrCfg *pCfg, uint32_t timerNum, bool bEnable)
Enable or disable a specific timer.
uint32_t CSL_timermgrGetCurrCnt(const CSL_TimermgrCfg *pCfg)
Return the current timer_mgr counter value.
uint32_t CSL_timermgrGetRevision(const CSL_TimermgrCfg *pCfg)
Return revision of the timer_mgr module.
int32_t CSL_timermgrSetTimerCnt(CSL_TimermgrCfg *pCfg, uint32_t timerNum, uint32_t timerCnt)
Sets the counter value for a specific timer.
int32_t CSL_timermgrSetMaxTimers(CSL_TimermgrCfg *pCfg, uint32_t maxTimers)
Sets the maximum number of timers to be monitored.
CSL_timer_mgr_timersRegs * pTimerRegs
Definition: csl_timer_mgr.h:137
void CSL_timermgrSetEnable(CSL_TimermgrCfg *pCfg, bool bEnable)
Enable or disable the timer_mgr.