Hi all,
I tried to create a timer in dsp application on DM8168, Timer_create returns correct, but the Timer_Func can't be called. My code is as following:
Timer_Params timer_params;
Error_Bolck eb;
Error_init(&eb);
Timer_Params_init(&timer_params);
timer_params.period = 500;
timer_params.periodType = Timer_PeriodType_MIRCOSECS;
timer_params.startMode = Timer_StartMode_USER;
timer_handle = Timer_Create(Timer_ANY, timerFunc, &timer_params, &eb);
if(timer_handle == NULL) {
...
}
Timer_start(timer_handle);
Above code is executed in a task, timer_handle returns correct, but timerFunc never be called. Dose any one can help, thanks!
BR,
Lihui