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.

OMAP-L138: TI/RTOS How to set timer interrupt priority

Part Number: OMAP-L138
Other Parts Discussed in Thread: SYSBIOS

Hi guys,

I have an easy question for you. I am trying to set a timer in my OMAPL138-ARM core using sysbios (ti-rtos). As you can see below, I call a ISR function named "MyTimer3Isr". I want to set the priority of this timer to minimum and let the other task interrupt MyTimer3Isr. How can I do that? 

Thanks,

Hakan

Timer_Params timer_params;
Timer_Params_init(&timer_params);
timer_params.arg        = 0;
timer_params.period     = CSL_SYSCLK_2_FREQ / timerFreq;
timer_params.periodType = Timer_PeriodType_COUNTS;
timer_params.startMode  = Timer_StartMode_USER;
timer_params.runMode    = Timer_RunMode_CONTINUOUS;

Timer_Handle myTimer3;
myTimer3= Timer_create( 3, myTimer3Isr, &timer_params, NULL );
Timer_start(myTimer3);