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.

AWR1843: Function similar to Systick handler in MRR lab

Part Number: AWR1843

 

I want to decrement a variable inside a SysTick function, which is decremented every SysTick_ISR call. I would then call this variable inside a function to check if it is zero,
perform an action, and reset the variable.

void SysTickHandler(void)
{
   if (Timer_var) Timer_var--;
}
unsigned char Use_Timer(void)
{     

       if (!Timer_var)
        { //do something
          Timer_var = TIMER_VAL;
        }
return SUCCESS;
}
#define TIMER_VAL 3000 //3sec


Is there a function similar to SysTickHandler in mrr lab_07 where I can decrement the variable?
It would be nice if this function is inside the mss part of the project.