ESP-IDF
_pcnt_unit_config()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
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_unit_config()
_pcnt_unit_config() function
Syntax
Show:
Summary
Declaration
from
pcnt_legacy.c:358
static
inline
esp_err_t
_pcnt_unit_config
(
pcnt_port_t
pcnt_port
,
const
pcnt_config_t
*
pcnt_config
)
;
Arguments
Argument
pcnt_port
pcnt_config
Examples
References
from
examples
Code
Location
Referrer
static
inline
esp_err_t
_pcnt_unit_config
(
pcnt_port_t
pcnt_port
,
const
pcnt_config_t
*
pcnt_config
)
pcnt_legacy.c:358
return
_pcnt_unit_config
(
PCNT_PORT_0
,
pcnt_config
)
;
pcnt_legacy.c:431
pcnt_unit_config()
Call Tree
from
examples
_pcnt_unit_config()
is called by 1 function and calls 11 functions:
pcnt_unit_config()
All items filtered out
_pcnt_unit_config()
esp_log_timestamp()
esp_log_write()
periph_rcc_enter()
periph_rcc_exit()
pcnt_ll_reset_register()
pcnt_ll_enable_bus_clock()
_pcnt_event_enable()
_pcnt_set_event_value()
_pcnt_filter_enable()
_pcnt_set_mode()
_pcnt_set_pin()
All items filtered out
Data Use
from
examples
_pcnt_unit_config()
reads 22 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_config_t::pulse_gpio_num
pcnt_config_t::ctrl_gpio_num
pcnt_config_t::lctrl_mode
pcnt_config_t::hctrl_mode
pcnt_config_t::pos_mode
pcnt_config_t::neg_mode
pcnt_config_t::counter_h_lim
pcnt_config_t::counter_l_lim
pcnt_config_t::unit
pcnt_config_t::channel
pcnt_port_t::PCNT_PORT_MAX
pcnt_channel_t::PCNT_CHANNEL_MAX
pcnt_evt_type_t::PCNT_EVT_L_LIM
pcnt_evt_type_t::PCNT_EVT_H_LIM
pcnt_evt_type_t::PCNT_EVT_ZERO
TAG
p_pcnt_obj
All items filtered out
_pcnt_unit_config()
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