Searched refs:tim (Results 1 – 2 of 2) sorted by relevance
89 static void timCallFunc(struct Timer *tim) in timCallFunc() argument92 TaggedPtr callInfo = tim->callInfo; in timCallFunc()95 osSetCurrentTid(tim->tid); in timCallFunc()96 ((TimTimerCbkF)taggedPtrToPtr(callInfo))(tim->id, tim->callData); in timCallFunc()100 evt->timerId = tim->id; in timCallFunc()101 evt->data = tim->callData; in timCallFunc()102 if (!osEnqueuePrivateEvt(EVT_APP_TIMER, evt, timerCallFuncFreeF, tim->tid)) { in timCallFunc()118 struct Timer *tim; in timFireAsNeededAndUpdateAlarms() local128 for (i = 0, tim = &mTimers[0]; i < MAX_TIMERS; i++, tim++) { in timFireAsNeededAndUpdateAlarms()129 if (!tim->id) in timFireAsNeededAndUpdateAlarms()[all …]
336 struct StmTim *tim = (struct StmTim*)TIM2_BASE; in TIM2_IRQHandler() local339 tim->SR &=~ 1; in TIM2_IRQHandler()342 tim->CR1 &=~ 1; in TIM2_IRQHandler()388 struct StmTim *tim = (struct StmTim*)TIM2_BASE; in platSetTimerAlarm() local392 tim->CR1 &=~ 1; in platSetTimerAlarm()399 tim->CNT = delayInUsecs; in platSetTimerAlarm()400 tim->SR &=~ 1; //clear int in platSetTimerAlarm()401 tim->CR1 |= 1; in platSetTimerAlarm()467 struct StmTim *tim = (struct StmTim*)TIM2_BASE; in sleepClockTmrWake() local476 tim->CR1 &=~ 1; in sleepClockTmrWake()[all …]