Hello,
I'm trying to create a timer-based function that repeats every 250 useconds. But it keeps resetting to main(), when making the Timer_create call. Any suggestions on what might be causing that, or how to debug it, would be appreciated. The code and revisions are below.
Regards,
Robert
int16_t init_timer( void )
{
Timer_Params timer_params;
Timer_Params_init( &timer_params );
timer_params.period = 250;
timer_params.periodType = Timer_PeriodType_MICROSECS;
Timer_create( 0, (ti_sysbios_interfaces_ITimer_FuncPtr)irq_timer, &timer_params, NULL );
return 0;
}
ti_sysbios_interfaces_ITimer_FuncPtr irq_timer( void )
{
return 0
}
IPC 1.22.3.23
SYS/BIOS 6.31.4.27
XDAIS 6.23
XDC 3.20.7.86