ESP-IDF
timer_init()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/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
timer_init()
timer_init() function
Syntax
Show:
Summary
Declaration
from
timer_legacy.c:303
esp_err_t
timer_init
(
timer_group_t
group_num
,
timer_idx_t
timer_num
,
const
timer_config_t
*
config
)
;
Arguments
Argument
group_num
timer_num
config
Examples
References
from
examples
Code
Location
esp_err_t
timer_init
(
timer_group_t
group_num
,
timer_idx_t
timer_num
,
const
timer_config_t
*
config
)
timer_legacy.c:303
Call Tree
from
examples
timer_init()
calls 21 functions:
All items filtered out
timer_init()
vPortEnterCriticalSafe()
vPortExitCriticalSafe()
esp_log_timestamp()
esp_log_write()
heap_caps_calloc()
periph_rcc_acquire_enter()
periph_rcc_acquire_exit()
esp_clk_tree_enable_src()
_timer_ll_enable_bus_clock()
_timer_ll_reset_register()
timer_ll_set_clock_source()
timer_ll_enable_clock()
timer_ll_enable_alarm()
timer_ll_set_clock_prescale()
timer_ll_enable_auto_reload()
timer_ll_set_count_direction()
timer_ll_enable_counter()
timer_ll_enable_intr()
timer_ll_clear_intr_status()
timer_hal_init()
timer_hal_set_counter_value()
All items filtered out
Data Use
from
examples
timer_init()
reads 24 variables and writes 6 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
soc_periph_tg_clk_src_legacy_t::TIMER_SRC_CLK_DEFAULT
timer_group_signal_conn_t::
::module
timer_group_signal_conn_t::groups
timer_group_periph_signals
timer_group_t::TIMER_GROUP_MAX
timer_idx_t::TIMER_MAX
timer_intr_mode_t::TIMER_INTR_MAX
timer_config_t::alarm_en
timer_config_t::counter_en
timer_config_t::intr_type
timer_config_t::counter_dir
timer_config_t::auto_reload
timer_config_t::clk_src
timer_config_t::divider
timer_hal_context_t::dev
p_timer_obj
timer_spinlock
TIMER_TAG
timer_obj_t::hal
All items filtered out
timer_init()
timer_obj_t::clk_src
timer_obj_t::direction
timer_obj_t::divider
timer_obj_t::alarm_en
timer_obj_t::auto_reload_en
timer_obj_t::counter_en
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