ESP-IDF
s_sar_power_on_cnt
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
s_sar_power_on_cnt
s_sar_power_on_cnt variable
This gets incremented when s_sar_power_acquire() is called, and decremented when s_sar_power_release() is called. PWDET is powered down when the value reaches zero. Should be modified within critical section.
Syntax
Show:
Summary
Declaration
from
sar_periph_ctrl.c:55
static
int
s_sar_power_on_cnt
;
Examples
References
from
examples
Code
Location
Referrer
static
int
s_sar_power_on_cnt
;
sar_periph_ctrl.c:55
s_sar_power_on_cnt
++
;
sar_periph_ctrl.c:60
s_sar_power_acquire()
if
(
s_sar_power_on_cnt
==
1
)
{
sar_periph_ctrl.c:61
s_sar_power_acquire()
s_sar_power_on_cnt
--
;
sar_periph_ctrl.c:70
s_sar_power_release()
if
(
s_sar_power_on_cnt
<
0
)
{
sar_periph_ctrl.c:71
s_sar_power_release()
}
else
if
(
s_sar_power_on_cnt
==
0
)
{
sar_periph_ctrl.c:75
s_sar_power_release()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
s_sar_power_on_cnt
is written by 2 functions and is read by 2 functions:
s_sar_power_acquire()
s_sar_power_release()
All items filtered out
s_sar_power_on_cnt
s_sar_power_acquire()
s_sar_power_release()
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
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out