ESP-IDF
_pcnt_event_enable()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (3/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
_pcnt_event_enable()
_pcnt_event_enable() function
Syntax
Show:
Summary
Declaration
from
pcnt_legacy.c:155
static
inline
esp_err_t
_pcnt_event_enable
(
pcnt_port_t
pcnt_port
,
pcnt_unit_t
unit
,
pcnt_evt_type_t
evt_type
,
bool
enable
)
;
Arguments
Argument
pcnt_port
unit
evt_type
enable
Examples
References
from
examples
Code
Location
Referrer
static
inline
esp_err_t
_pcnt_event_enable
(
pcnt_port_t
pcnt_port
,
pcnt_unit_t
unit
,
pcnt_evt_type_t
evt_type
,
bool
enable
)
pcnt_legacy.c:155
_pcnt_event_enable
(
pcnt_port
,
unit
,
PCNT_EVT_H_LIM
,
false
)
;
pcnt_legacy.c:385
_pcnt_unit_config()
_pcnt_event_enable
(
pcnt_port
,
unit
,
PCNT_EVT_L_LIM
,
false
)
;
pcnt_legacy.c:386
_pcnt_unit_config()
_pcnt_event_enable
(
pcnt_port
,
unit
,
PCNT_EVT_ZERO
,
false
)
;
pcnt_legacy.c:387
_pcnt_unit_config()
return
_pcnt_event_enable
(
PCNT_PORT_0
,
unit
,
evt_type
,
true
)
;
pcnt_legacy.c:476
pcnt_event_enable()
return
_pcnt_event_enable
(
PCNT_PORT_0
,
unit
,
evt_type
,
false
)
;
pcnt_legacy.c:481
pcnt_event_disable()
Call Tree
from
examples
_pcnt_event_enable()
is called by 3 functions and calls 6 functions:
_pcnt_unit_config()
pcnt_event_enable()
pcnt_event_disable()
All items filtered out
_pcnt_event_enable()
esp_log_timestamp()
esp_log_write()
pcnt_ll_enable_high_limit_event()
pcnt_ll_enable_low_limit_event()
pcnt_ll_enable_zero_cross_event()
pcnt_ll_enable_thres_event()
All items filtered out
Data Use
from
examples
_pcnt_event_enable()
reads 16 variables:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
pcnt_port_t::PCNT_PORT_MAX
pcnt_evt_type_t::PCNT_EVT_THRES_1
pcnt_evt_type_t::PCNT_EVT_THRES_0
pcnt_evt_type_t::PCNT_EVT_L_LIM
pcnt_evt_type_t::PCNT_EVT_H_LIM
pcnt_evt_type_t::PCNT_EVT_ZERO
pcnt_evt_type_t::PCNT_EVT_MAX
pcnt_hal_context_t::dev
TAG
pcnt_obj_t::hal
p_pcnt_obj
All items filtered out
_pcnt_event_enable()
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