Tool/software: TI-RTOS
In our TCI6638K2K project, running on an EVMK2X, with SYS/BIOS 6.35.4.50, I need a timer to create a periodic interrupt with a period of 125us. I do this using:
Timer_Params timerParams; Timer_Handle myTimer; const uint32 TMR_PERIOD_US = 125;
Error_Block eb; Error_init(&eb); Timer_Params_init(&timerParams); timerParams.period = TMR_PERIOD_US; timerParams.periodType = Timer_PeriodType_MICROSECS; myTimer = Timer_create(Timer_ANY, (ti_sysbios_hal_Timer_FuncPtr) Isr_timer, &timerParams, &eb);
In the Timer_create() call I specify Timer_ANY. Is there any way of finding out which timer was actually allocated?