ESP-IDF
pcnt_dev_t::conf_unit
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::conf_unit
pcnt_dev_t::conf_unit field
Syntax
Show:
Summary
Declaration
from
pcnt_struct.h:15
volatile
struct
{
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
;
union
{
struct
{
uint32_t
cnt_thres0
:
16
;
uint32_t
cnt_thres1
:
16
;
}
;
uint32_t
val
;
}
conf1
;
union
{
struct
{
uint32_t
cnt_h_lim
:
16
;
uint32_t
cnt_l_lim
:
16
;
}
;
uint32_t
val
;
}
conf2
;
}
conf_unit
[
8
]
;
Examples
References
from
examples
Code
Location
Referrer
}
conf_unit
[
8
]
;
pcnt_struct.h:50
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()
typeof
(
hw
->
conf_unit
[
unit
]
.
conf2
)
conf2_reg
;
pcnt_ll.h:257
pcnt_ll_set_high_limit_value()
conf2_reg
.
val
=
hw
->
conf_unit
[
unit
]
.
conf2
.
val
;
pcnt_ll.h:258
pcnt_ll_set_high_limit_value()
hw
->
conf_unit
[
unit
]
.
conf2
.
val
=
conf2_reg
.
val
;
pcnt_ll.h:261
pcnt_ll_set_high_limit_value()
typeof
(
hw
->
conf_unit
[
unit
]
.
conf2
)
conf2_reg
;
pcnt_ll.h:273
pcnt_ll_set_low_limit_value()
conf2_reg
.
val
=
hw
->
conf_unit
[
unit
]
.
conf2
.
val
;
pcnt_ll.h:274
pcnt_ll_set_low_limit_value()
hw
->
conf_unit
[
unit
]
.
conf2
.
val
=
conf2_reg
.
val
;
pcnt_ll.h:277
pcnt_ll_set_low_limit_value()
typeof
(
hw
->
conf_unit
[
unit
]
.
conf1
)
conf1_reg
;
pcnt_ll.h:290
pcnt_ll_set_thres_value()
conf1_reg
.
val
=
hw
->
conf_unit
[
unit
]
.
conf1
.
val
;
pcnt_ll.h:291
pcnt_ll_set_thres_value()
hw
->
conf_unit
[
unit
]
.
conf1
.
val
=
conf1_reg
.
val
;
pcnt_ll.h:298
pcnt_ll_set_thres_value()
typeof
(
hw
->
conf_unit
[
unit
]
.
conf2
)
conf2_reg
;
pcnt_ll.h:310
pcnt_ll_get_high_limit_value()
conf2_reg
.
val
=
hw
->
conf_unit
[
unit
]
.
conf2
.
val
;
pcnt_ll.h:311
pcnt_ll_get_high_limit_value()
typeof
(
hw
->
conf_unit
[
unit
]
.
conf2
)
conf2_reg
;
pcnt_ll.h:326
pcnt_ll_get_low_limit_value()
conf2_reg
.
val
=
hw
->
conf_unit
[
unit
]
.
conf2
.
val
;
pcnt_ll.h:327
pcnt_ll_get_low_limit_value()
typeof
(
hw
->
conf_unit
[
unit
]
.
conf1
)
conf1_reg
;
pcnt_ll.h:345
pcnt_ll_get_thres_value()
conf1_reg
.
val
=
hw
->
conf_unit
[
unit
]
.
conf1
.
val
;
pcnt_ll.h:346
pcnt_ll_get_thres_value()
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::conf_unit
is read by 16 functions:
All items filtered out
pcnt_dev_t::conf_unit
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_high_limit_value()
pcnt_ll_set_low_limit_value()
pcnt_ll_set_thres_value()
pcnt_ll_get_high_limit_value()
pcnt_ll_get_low_limit_value()
pcnt_ll_get_thres_value()
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