ESP-IDF
pcnt_unit_t::watchers
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (3/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::watchers
pcnt_unit_t::watchers field
Syntax
Show:
Summary
Declaration
from
pulse_cnt.c:111
pcnt_watch_point_t
watchers
[
PCNT_LL_WATCH_EVENT_MAX
]
;
Examples
References
from
examples
Code
Location
Referrer
pcnt_watch_point_t
watchers
[
PCNT_LL_WATCH_EVENT_MAX
]
;
// array of PCNT watchers
pulse_cnt.c:111
unit
->
watchers
[
i
]
.
event_id
=
PCNT_LL_WATCH_EVENT_INVALID
;
// invalid all watch point
pulse_cnt.c:305
pcnt_new_unit()
if
(
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_ZERO_CROSS
]
.
event_id
!=
PCNT_LL_WATCH_EVENT_INVALID
)
{
pulse_cnt.c:560
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_ZERO_CROSS
]
.
event_id
=
PCNT_LL_WATCH_EVENT_ZERO_CROSS
;
pulse_cnt.c:563
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_ZERO_CROSS
]
.
watch_point_value
=
0
;
pulse_cnt.c:564
pcnt_unit_add_watch_point()
if
(
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_HIGH_LIMIT
]
.
event_id
!=
PCNT_LL_WATCH_EVENT_INVALID
)
{
pulse_cnt.c:570
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_HIGH_LIMIT
]
.
event_id
=
PCNT_LL_WATCH_EVENT_HIGH_LIMIT
;
pulse_cnt.c:573
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_HIGH_LIMIT
]
.
watch_point_value
=
unit
->
high_limit
;
pulse_cnt.c:574
pcnt_unit_add_watch_point()
if
(
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_LOW_LIMIT
]
.
event_id
!=
PCNT_LL_WATCH_EVENT_INVALID
)
{
pulse_cnt.c:580
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_LOW_LIMIT
]
.
event_id
=
PCNT_LL_WATCH_EVENT_LOW_LIMIT
;
pulse_cnt.c:583
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_LOW_LIMIT
]
.
watch_point_value
=
unit
->
low_limit
;
pulse_cnt.c:584
pcnt_unit_add_watch_point()
if
(
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_THRES1
]
.
event_id
==
PCNT_LL_WATCH_EVENT_INVALID
)
{
pulse_cnt.c:593
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_THRES1
]
.
event_id
=
PCNT_LL_WATCH_EVENT_THRES1
;
pulse_cnt.c:594
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_THRES1
]
.
watch_point_value
=
watch_point
;
pulse_cnt.c:595
pcnt_unit_add_watch_point()
}
else
if
(
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_THRES1
]
.
watch_point_value
==
watch_point
)
{
pulse_cnt.c:599
pcnt_unit_add_watch_point()
if
(
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_THRES0
]
.
event_id
==
PCNT_LL_WATCH_EVENT_INVALID
)
{
pulse_cnt.c:605
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_THRES0
]
.
event_id
=
PCNT_LL_WATCH_EVENT_THRES0
;
pulse_cnt.c:606
pcnt_unit_add_watch_point()
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_THRES0
]
.
watch_point_value
=
watch_point
;
pulse_cnt.c:607
pcnt_unit_add_watch_point()
}
else
if
(
unit
->
watchers
[
PCNT_LL_WATCH_EVENT_THRES0
]
.
watch_point_value
==
watch_point
)
{
pulse_cnt.c:611
pcnt_unit_add_watch_point()
if
(
unit
->
watchers
[
i
]
.
event_id
!=
PCNT_LL_WATCH_EVENT_INVALID
&&
unit
->
watchers
[
i
]
.
watch_point_value
==
watch_point
)
{
pulse_cnt.c:637
pcnt_unit_remove_watch_point()
event_id
=
unit
->
watchers
[
i
]
.
event_id
;
pulse_cnt.c:638
pcnt_unit_remove_watch_point()
unit
->
watchers
[
i
]
.
event_id
=
PCNT_LL_WATCH_EVENT_INVALID
;
pulse_cnt.c:639
pcnt_unit_remove_watch_point()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
pcnt_unit_t::watchers
is read by 3 functions:
All items filtered out
pcnt_unit_t::watchers
pcnt_new_unit()
pcnt_unit_add_watch_point()
pcnt_unit_remove_watch_point()
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