ESP-IDF
_pcnt_set_mode()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (2/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_set_mode()
_pcnt_set_mode() function
Syntax
Show:
Summary
Declaration
from
pcnt_legacy.c:68
static
inline
esp_err_t
_pcnt_set_mode
(
pcnt_port_t
pcnt_port
,
pcnt_unit_t
unit
,
pcnt_channel_t
channel
,
pcnt_count_mode_t
pos_mode
,
pcnt_count_mode_t
neg_mode
,
pcnt_ctrl_mode_t
hctrl_mode
,
pcnt_ctrl_mode_t
lctrl_mode
)
;
Arguments
Argument
pcnt_port
unit
channel
pos_mode
neg_mode
hctrl_mode
lctrl_mode
Examples
References
from
examples
Code
Location
Referrer
static
inline
esp_err_t
_pcnt_set_mode
(
pcnt_port_t
pcnt_port
,
pcnt_unit_t
unit
,
pcnt_channel_t
channel
,
pcnt_count_mode_t
pos_mode
,
pcnt_count_mode_t
neg_mode
,
pcnt_ctrl_mode_t
hctrl_mode
,
pcnt_ctrl_mode_t
lctrl_mode
)
pcnt_legacy.c:68
_pcnt_set_mode
(
pcnt_port
,
unit
,
channel
,
pcnt_config
->
pos_mode
,
pcnt_config
->
neg_mode
,
pcnt_config
->
hctrl_mode
,
pcnt_config
->
lctrl_mode
)
;
pcnt_legacy.c:390
_pcnt_unit_config()
return
_pcnt_set_mode
(
PCNT_PORT_0
,
unit
,
channel
,
pos_mode
,
neg_mode
,
hctrl_mode
,
lctrl_mode
)
;
pcnt_legacy.c:436
pcnt_set_mode()
Call Tree
from
examples
_pcnt_set_mode()
is called by 2 functions and calls 4 functions:
_pcnt_unit_config()
pcnt_set_mode()
All items filtered out
_pcnt_set_mode()
esp_log_timestamp()
esp_log_write()
pcnt_ll_set_edge_action()
pcnt_ll_set_level_action()
All items filtered out
Data Use
from
examples
_pcnt_set_mode()
reads 11 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_channel_t::PCNT_CHANNEL_MAX
pcnt_hal_context_t::dev
TAG
pcnt_obj_t::hal
p_pcnt_obj
All items filtered out
_pcnt_set_mode()
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