ESP-IDF
ref_counts
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ref_counts
ref_counts variable
Syntax
Show:
Summary
Declaration
from
periph_ctrl.c:22
static
uint8_t
ref_counts
[
PERIPH_MODULE_MAX
]
=
{
0
}
;
Examples
References
from
examples
Code
Location
Referrer
static
uint8_t
ref_counts
[
PERIPH_MODULE_MAX
]
=
{
0
}
;
periph_ctrl.c:22
return
ref_counts
[
periph
]
;
periph_ctrl.c:37
periph_rcc_acquire_enter()
ref_counts
[
periph
]
=
++
ref_count
;
periph_ctrl.c:42
periph_rcc_acquire_exit()
return
ref_counts
[
periph
]
-
1
;
periph_ctrl.c:49
periph_rcc_release_enter()
ref_counts
[
periph
]
=
ref_count
;
periph_ctrl.c:54
periph_rcc_release_exit()
if
(
ref_counts
[
periph
]
==
0
)
{
periph_ctrl.c:63
periph_module_enable()
ref_counts
[
periph
]
++
;
periph_ctrl.c:66
periph_module_enable()
ref_counts
[
periph
]
--
;
periph_ctrl.c:76
periph_module_disable()
if
(
ref_counts
[
periph
]
==
0
)
{
periph_ctrl.c:77
periph_module_disable()
if
(
ref_counts
[
PERIPH_WIFI_BT_COMMON_MODULE
]
==
0
)
{
periph_ctrl.c:102
wifi_bt_common_module_enable()
ref_counts
[
PERIPH_WIFI_BT_COMMON_MODULE
]
++
;
periph_ctrl.c:105
wifi_bt_common_module_enable()
ref_counts
[
PERIPH_WIFI_BT_COMMON_MODULE
]
--
;
periph_ctrl.c:116
wifi_bt_common_module_disable()
if
(
ref_counts
[
PERIPH_WIFI_BT_COMMON_MODULE
]
==
0
)
{
periph_ctrl.c:117
wifi_bt_common_module_disable()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ref_counts
is read by 8 functions:
All items filtered out
ref_counts
periph_rcc_acquire_enter()
periph_rcc_acquire_exit()
periph_rcc_release_enter()
periph_rcc_release_exit()
periph_module_enable()
periph_module_disable()
wifi_bt_common_module_enable()
wifi_bt_common_module_disable()
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