ESP-IDF
s_get_src_clk_freq()
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
s_get_src_clk_freq()
s_get_src_clk_freq() function
Syntax
Show:
Summary
Declaration
from
i2c.c:727
static
uint32_t
s_get_src_clk_freq
(
i2c_clock_source_t
clk_src
)
;
Arguments
Argument
clk_src
Examples
References
from
examples
Code
Location
Referrer
static
uint32_t
s_get_src_clk_freq
(
i2c_clock_source_t
clk_src
)
i2c.c:727
(
clk_speed
<=
(
s_get_src_clk_freq
(
clk_srcs
[
i
]
)
/
20
)
)
)
{
// I2C SCL clock frequency should not larger than clock source frequency/20
i2c.c:766
s_get_clk_src()
i2c_hal_set_bus_timing
(
&
(
i2c_context
[
i2c_num
]
.
hal
)
,
i2c_conf
->
master
.
clk_speed
,
src_clk
,
s_get_src_clk_freq
(
src_clk
)
)
;
i2c.c:831
i2c_param_config()
Call Tree
from
examples
s_get_src_clk_freq()
is called by 2 functions and calls 3 functions:
s_get_clk_src()
i2c_param_config()
All items filtered out
s_get_src_clk_freq()
esp_log_timestamp()
esp_log_write()
esp_clk_apb_freq()
All items filtered out
Data Use
from
examples
s_get_src_clk_freq()
reads 7 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_i2c_clk_src_t::I2C_CLK_SRC_APB
I2C_TAG
All items filtered out
s_get_src_clk_freq()
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