Hi,
What is the best way to set timer expiration time on the AM243x ?
I mean during program execution - not via SysConfig.
Thanks,
Eli
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
What is the best way to set timer expiration time on the AM243x ?
I mean during program execution - not via SysConfig.
Thanks,
Eli
Hi,
Ok Found it !
int32_t CSL_timermgrSetTimerCnt( CSL_TimermgrCfg *pCfg, uint32_t timerNum, uint32_t timerCnt );
Can you please write a short example on how to correctly use it.
What is CSL_TimermgrCfg *pCfg ?
Thanks,
Eli
Hi Eli,
Apologizes for my late response and my misleading information. The timer used in the example is dual-mode timer.
You can use the TimerP_setup() to update the parameters, then TimerP_start() to re-start the timer.
Please refer to TimerP_init() in ti_dpl_config.c