ESP-IDF
otPlatAlarmMilliGetNow()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
otPlatAlarmMilliGetNow()
otPlatAlarmMilliGetNow() function
Get the current time. The current time MUST represent a free-running timer. When maintaining current time, the time value MUST utilize the entire range [0, 2^32-1] and MUST NOT wrap before 2^32.
Syntax
Show:
Summary
Declaration
Definition
from
alarm-milli.h:82
uint32_t
otPlatAlarmMilliGetNow
(
void
)
;
Implemented in
esp_openthread_alarm.c:64
Return value
The current time in milliseconds.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint32_t
inline
otPlatAlarmMilliGetNow
(
void
)
esp_openthread_alarm.c:64
uint32_t
otPlatAlarmMilliGetNow
(
void
)
;
alarm-milli.h:82
remaining_us
=
calculate_duration
(
s_alarm_ms
,
otPlatAlarmMilliGetNow
(
)
)
*
US_PER_MS
;
esp_openthread_alarm.c:107
esp_openthread_alarm_update()
if
(
s_is_ms_running
&&
is_expired
(
s_alarm_ms
,
otPlatAlarmMilliGetNow
(
)
)
)
{
esp_openthread_alarm.c:129
esp_openthread_alarm_process()
uint32_t
now
=
otPlatAlarmMilliGetNow
(
)
;
factory_diags.cpp:383
ot::FactoryDiags::Diags
ot::FactoryDiags::Diags::ProcessRepeat()
uint32_t
now
=
otPlatAlarmMilliGetNow
(
)
;
factory_diags.cpp:594
ot::FactoryDiags::Diags
ot::FactoryDiags::Diags::AlarmFired()
SuccessOrExit
(
error
=
mEncoder
.
WriteUint64
(
mLogTimestampBase
+
otPlatAlarmMilliGetNow
(
)
)
)
;
ncp_base.cpp:752
ot::Ncp::NcpBase
ot::Ncp::NcpBase::Log()
uint32_t
currentTime
=
otPlatAlarmMilliGetNow
(
)
;
ncp_base.cpp:2606
ot::Ncp::NcpBase
ot::Ncp::NcpBase::HandlePropertySet()
&
otPlatAlarmMilliGetNow
,
timer.cpp:62
static
TimeMilli
GetNow
(
void
)
{
return
TimeMilli
(
otPlatAlarmMilliGetNow
(
)
)
;
}
timer.hpp:301
ot::TimerMilli
ot::TimerMilli::GetNow()
Call Tree
from
examples
otPlatAlarmMilliGetNow()
is called by 7 functions and calls 1 function:
esp_openthread_alarm_update()
esp_openthread_alarm_process()
ot::TimerMilli::GetNow()
ot::FactoryDiags::Diags::ProcessRepeat()
ot::FactoryDiags::Diags::AlarmFired()
ot::Ncp::NcpBase::Log()
ot::Ncp::NcpBase::HandlePropertySet()
All items filtered out
otPlatAlarmMilliGetNow()
otPlatTimeGet()
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
otPlatAlarmMilliGetNow()
is implemented by 1 functions:
All items filtered out
otPlatAlarmMilliGetNow()
ot::Timer::Scheduler::AlarmApi::AlarmGetNow
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out