Home
last modified time | relevance | path

Searched refs:TimerMicro (Results 1 – 9 of 9) sorted by relevance

/openthread-latest/src/core/common/
Dtimer.hpp389 class TimerMicro : public Timer class
397 friend class TimerMicro;
412 void Add(TimerMicro &aTimer) { Timer::Scheduler::Add(aTimer, sAlarmMicroApi); } in Add()
413 void Remove(TimerMicro &aTimer) { Timer::Scheduler::Remove(aTimer, sAlarmMicroApi); } in Remove()
426 TimerMicro(Instance &aInstance, Handler aHandler) in TimerMicro() function in ot::TimerMicro
477 …mplate <typename Owner, void (Owner::*HandleTimerPtr)(void)> class TimerMicroIn : public TimerMicro
486 : TimerMicro(aInstance, HandleTimer) in TimerMicroIn()
Dtimer.cpp268 const Timer::Scheduler::AlarmApi TimerMicro::Scheduler::sAlarmMicroApi = {
274 void TimerMicro::Start(uint32_t aDelay) { StartAt(GetNow(), aDelay); } in Start()
276 void TimerMicro::StartAt(TimeMicro aStartTime, uint32_t aDelay) in StartAt()
282 void TimerMicro::FireAt(TimeMicro aFireTime) in FireAt()
288 void TimerMicro::Stop(void) { Get<Scheduler>().Remove(*this); } in Stop()
290 void TimerMicro::RemoveAll(Instance &aInstance) { aInstance.Get<Scheduler>().RemoveAll(); } in RemoveAll()
295 AsCoreType(aInstance).Get<TimerMicro::Scheduler>().ProcessTimers(); in otPlatAlarmMicroFired()
/openthread-latest/src/core/mac/
Dwakeup_tx_scheduler.cpp61 mTxTimeUs = TimerMicro::GetNow() + mTxRequestAheadTimeUs; in WakeUp()
85 TimeMicro nowUs = TimerMicro::GetNow(); in PrepareWakeupFrame()
120 mTxTimeUs = Max(mTxTimeUs + mIntervalUs, TimerMicro::GetNow() + mTxRequestAheadTimeUs); in PrepareWakeupFrame()
Dsub_mac_csl_receiver.cpp78 mCslLastSync = TimerMicro::GetNow(); in UpdateCslLastSyncTimestamp()
204 winStart = ot::TimerMicro::GetNow().GetValue(); in HandleCslTimer()
249 now = TimerMicro::GetNow().GetValue(); in GetLocalTime()
Dsub_mac_wed.cpp62 mWedSampleTime = TimerMicro::GetNow() + kCslReceiveTimeAhead - mWakeupListenInterval; in UpdateWakeupListening()
Dsub_mac.hpp674 TimerMicro mCslTimer;
683 TimerMicro mWedTimer;
/openthread-latest/src/core/radio/
Dradio.cpp196 mLastUpdateTime = TimerMicro::GetNow(); in ResetTime()
201 TimeMicro nowTime = TimerMicro::GetNow(); in UpdateTime()
/openthread-latest/src/core/instance/
Dinstance.hpp454 TimerMicro::Scheduler mTimerMicroScheduler;
1114 template <> inline TimerMicro::Scheduler &Instance::Get(void) { return mTimerMicroScheduler; } in Get()
/openthread-latest/tests/unit/
Dtest_timer.cpp131 template <> void AlarmFired<TimerMicro>(otInstance *aInstance) { otPlatAlarmMicroFired(aInstance); } in AlarmFired()
691 ot::RunTimerTests<ot::TimerMicro>(); in main()