ESP-IDF
periph_spinlock
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
periph_spinlock
periph_spinlock variable
For simplicity and backward compatible, we are using the same spin lock for both bus clock on/off and reset
Syntax
Show:
Summary
Declaration
from
periph_ctrl.c:20
static
portMUX_TYPE
periph_spinlock
=
portMUX_INITIALIZER_UNLOCKED
;
Examples
References
from
examples
Code
Location
Referrer
static
portMUX_TYPE
periph_spinlock
=
portMUX_INITIALIZER_UNLOCKED
;
periph_ctrl.c:20
portENTER_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:26
periph_rcc_enter()
portEXIT_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:31
periph_rcc_exit()
portENTER_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:62
periph_module_enable()
portEXIT_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:67
periph_module_enable()
portENTER_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:75
periph_module_disable()
portEXIT_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:80
periph_module_disable()
portENTER_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:88
periph_module_reset()
portEXIT_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:90
periph_module_reset()
portENTER_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:101
wifi_bt_common_module_enable()
portEXIT_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:106
wifi_bt_common_module_enable()
portENTER_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:115
wifi_bt_common_module_disable()
portEXIT_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:120
wifi_bt_common_module_disable()
portENTER_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:132
wifi_module_enable()
portEXIT_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:134
wifi_module_enable()
portENTER_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:143
wifi_module_disable()
portEXIT_CRITICAL_SAFE
(
&
periph_spinlock
)
;
periph_ctrl.c:145
wifi_module_disable()
Call Tree
from
examples
All items filtered out
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
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out