ESP-IDF
get_flash_clock_divider()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (3/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
get_flash_clock_divider()
get_flash_clock_divider() function
Syntax
Show:
Summary
Declaration
from
spi_flash_hal.c:24
static
uint32_t
get_flash_clock_divider
(
const
spi_flash_hal_config_t
*
cfg
)
;
Arguments
Argument
cfg
Related Functions
Found 3 other functions taking a
spi_flash_hal_config_t
argument:
Function
Description
memspi_host_init_pointers()
Initialize the memory SPI host.
spi_flash_hal_init()
Configure SPI flash hal settings.
spi_flash_cal_clock()
Examples
References
from
examples
Code
Location
Referrer
static
uint32_t
get_flash_clock_divider
(
const
spi_flash_hal_config_t
*
cfg
)
spi_flash_hal.c:24
uint32_t
div_parameter
=
spi_flash_ll_calculate_clock_reg
(
cfg
->
host_id
,
get_flash_clock_divider
(
cfg
)
)
;
spi_flash_hal.c:59
spi_flash_cal_clock()
data_out
->
extra_dummy
=
get_dummy_n
(
!
cfg
->
iomux
,
cfg
->
input_delay_ns
,
APB_CLK_FREQ
/
get_flash_clock_divider
(
cfg
)
)
;
spi_flash_hal.c:124
spi_flash_hal_init()
Call Tree
from
examples
get_flash_clock_divider()
is called by 2 functions and calls 3 functions:
spi_flash_cal_clock()
spi_flash_hal_init()
All items filtered out
get_flash_clock_divider()
abort()
esp_log_timestamp()
esp_log_write()
All items filtered out
Data Use
from
examples
get_flash_clock_divider()
reads 8 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
spi_flash_hal_config_t::freq_mhz
spi_flash_hal_config_t::clock_src_freq
TAG
All items filtered out
get_flash_clock_divider()
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