ESP-IDF
pcnt_dev_t::
::conf0
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
pcnt_dev_t::
::conf0
pcnt_dev_t::
::conf0 field
Syntax
Show:
Summary
Declaration
from
pcnt_struct.h:16
union
{
struct
{
uint32_t
filter_thres
:
10
;
uint32_t
filter_en
:
1
;
uint32_t
thr_zero_en
:
1
;
uint32_t
thr_h_lim_en
:
1
;
uint32_t
thr_l_lim_en
:
1
;
uint32_t
thr_thres0_en
:
1
;
uint32_t
thr_thres1_en
:
1
;
uint32_t
ch0_neg_mode
:
2
;
uint32_t
ch0_pos_mode
:
2
;
uint32_t
ch0_hctrl_mode
:
2
;
uint32_t
ch0_lctrl_mode
:
2
;
uint32_t
ch1_neg_mode
:
2
;
uint32_t
ch1_pos_mode
:
2
;
uint32_t
ch1_hctrl_mode
:
2
;
uint32_t
ch1_lctrl_mode
:
2
;
}
;
uint32_t
val
;
}
conf0
;
Examples
References
from
examples
Code
Location
Referrer
}
conf0
;
pcnt_struct.h:35
hw
->
conf_unit
[
unit
]
.
conf0
.
ch0_pos_mode
=
pos_act
;
pcnt_ll.h:61
pcnt_ll_set_edge_action()
hw
->
conf_unit
[
unit
]
.
conf0
.
ch0_neg_mode
=
neg_act
;
pcnt_ll.h:62
pcnt_ll_set_edge_action()
hw
->
conf_unit
[
unit
]
.
conf0
.
ch1_pos_mode
=
pos_act
;
pcnt_ll.h:64
pcnt_ll_set_edge_action()
hw
->
conf_unit
[
unit
]
.
conf0
.
ch1_neg_mode
=
neg_act
;
pcnt_ll.h:65
pcnt_ll_set_edge_action()
hw
->
conf_unit
[
unit
]
.
conf0
.
ch0_hctrl_mode
=
high_act
;
pcnt_ll.h:81
pcnt_ll_set_level_action()
hw
->
conf_unit
[
unit
]
.
conf0
.
ch0_lctrl_mode
=
low_act
;
pcnt_ll.h:82
pcnt_ll_set_level_action()
hw
->
conf_unit
[
unit
]
.
conf0
.
ch1_hctrl_mode
=
high_act
;
pcnt_ll.h:84
pcnt_ll_set_level_action()
hw
->
conf_unit
[
unit
]
.
conf0
.
ch1_lctrl_mode
=
low_act
;
pcnt_ll.h:85
pcnt_ll_set_level_action()
hw
->
conf_unit
[
unit
]
.
conf0
.
thr_h_lim_en
=
enable
;
pcnt_ll.h:193
pcnt_ll_enable_high_limit_event()
hw
->
conf_unit
[
unit
]
.
conf0
.
thr_l_lim_en
=
enable
;
pcnt_ll.h:205
pcnt_ll_enable_low_limit_event()
hw
->
conf_unit
[
unit
]
.
conf0
.
thr_zero_en
=
enable
;
pcnt_ll.h:217
pcnt_ll_enable_zero_cross_event()
hw
->
conf_unit
[
unit
]
.
conf0
.
thr_thres0_en
=
enable
;
pcnt_ll.h:231
pcnt_ll_enable_thres_event()
hw
->
conf_unit
[
unit
]
.
conf0
.
thr_thres1_en
=
enable
;
pcnt_ll.h:233
pcnt_ll_enable_thres_event()
hw
->
conf_unit
[
unit
]
.
conf0
.
val
&=
~
(
PCNT_LL_WATCH_EVENT_MASK
<
<
11
)
;
pcnt_ll.h:245
pcnt_ll_disable_all_events()
hw
->
conf_unit
[
unit
]
.
conf0
.
filter_thres
=
filter_val
;
pcnt_ll.h:404
pcnt_ll_set_glitch_filter_thres()
return
hw
->
conf_unit
[
unit
]
.
conf0
.
filter_thres
;
pcnt_ll.h:416
pcnt_ll_get_glitch_filter_thres()
hw
->
conf_unit
[
unit
]
.
conf0
.
filter_en
=
enable
;
pcnt_ll.h:428
pcnt_ll_enable_glitch_filter()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
pcnt_dev_t::
::conf0
is read by 10 functions:
All items filtered out
pcnt_dev_t::
::conf0
pcnt_ll_set_edge_action()
pcnt_ll_set_level_action()
pcnt_ll_enable_high_limit_event()
pcnt_ll_enable_low_limit_event()
pcnt_ll_enable_zero_cross_event()
pcnt_ll_enable_thres_event()
pcnt_ll_disable_all_events()
pcnt_ll_set_glitch_filter_thres()
pcnt_ll_get_glitch_filter_thres()
pcnt_ll_enable_glitch_filter()
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