ESP-IDF
pcnt_unit_t::spinlock
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
pcnt_unit_t::spinlock
pcnt_unit_t::spinlock field
Syntax
Show:
Summary
Declaration
from
pulse_cnt.c:102
portMUX_TYPE
spinlock
;
Examples
References
from
examples
Code
Location
Referrer
portMUX_TYPE
spinlock
;
// Spinlock, stop one unit from accessing different parts of a same register concurrently
pulse_cnt.c:102
unit
->
spinlock
=
(
portMUX_TYPE
)
portMUX_INITIALIZER_UNLOCKED
;
pulse_cnt.c:301
pcnt_new_unit()
portENTER_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:397
pcnt_unit_set_glitch_filter()
portEXIT_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:404
pcnt_unit_set_glitch_filter()
portENTER_CRITICAL_SAFE
(
&
unit
->
spinlock
)
;
pulse_cnt.c:485
pcnt_unit_clear_count()
portEXIT_CRITICAL_SAFE
(
&
unit
->
spinlock
)
;
pulse_cnt.c:487
pcnt_unit_clear_count()
portENTER_CRITICAL_SAFE
(
&
unit
->
spinlock
)
;
pulse_cnt.c:499
pcnt_unit_get_count()
portEXIT_CRITICAL_SAFE
(
&
unit
->
spinlock
)
;
pulse_cnt.c:501
pcnt_unit_get_count()
portENTER_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:557
pcnt_unit_add_watch_point()
portEXIT_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:621
pcnt_unit_add_watch_point()
portENTER_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:635
pcnt_unit_remove_watch_point()
portEXIT_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:662
pcnt_unit_remove_watch_point()
portENTER_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:725
pcnt_new_channel()
portEXIT_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:733
pcnt_new_channel()
portENTER_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:801
pcnt_del_channel()
portEXIT_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:803
pcnt_del_channel()
portENTER_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:833
pcnt_channel_set_edge_action()
portEXIT_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:835
pcnt_channel_set_edge_action()
portENTER_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:848
pcnt_channel_set_level_action()
portEXIT_CRITICAL
(
&
unit
->
spinlock
)
;
pulse_cnt.c:850
pcnt_channel_set_level_action()
portENTER_CRITICAL_ISR
(
&
unit
->
spinlock
)
;
pulse_cnt.c:989
pcnt_default_isr()
portEXIT_CRITICAL_ISR
(
&
unit
->
spinlock
)
;
pulse_cnt.c:991
pcnt_default_isr()
portENTER_CRITICAL_ISR
(
&
unit
->
spinlock
)
;
pulse_cnt.c:998
pcnt_default_isr()
portEXIT_CRITICAL_ISR
(
&
unit
->
spinlock
)
;
pulse_cnt.c:1000
pcnt_default_isr()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
pcnt_unit_t::spinlock
is written by 1 function:
pcnt_new_unit()
All items filtered out
pcnt_unit_t::spinlock
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