ESP-IDF
spi_flash_hal_config_t::host_id
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
spi_flash_hal_config_t::host_id
spi_flash_hal_config_t::host_id field
Syntax
Show:
Summary
Declaration
from
spi_flash_hal.h:81
spi_host_device_t
host_id
;
Examples
References
from
examples
Code
Location
Referrer
spi_host_device_t
host_id
;
///< SPI peripheral ID.
spi_flash_hal.h:81
.
host_id
=
config
->
host_id
,
esp_flash_spi_init.c:271
spi_bus_add_flash_device()
host_cfg
.
clock_src_freq
=
spi_flash_ll_get_source_clock_freq_mhz
(
host_cfg
.
host_id
)
;
esp_flash_spi_init.c:278
spi_bus_add_flash_device()
memspi_host_config_t
cfg
=
ESP_FLASH_HOST_CONFIG_DEFAULT
(
)
;
esp_flash_spi_init.c:350
esp_flash_init_default_chip()
cfg
.
clock_src_freq
=
spi_flash_ll_get_source_clock_freq_mhz
(
cfg
.
host_id
)
;
esp_flash_spi_init.c:378
esp_flash_init_default_chip()
if
(
!
esp_ptr_internal
(
host
)
&&
cfg
->
host_id
==
SPI1_HOST
)
{
memspi_host_driver.c:69
memspi_host_init_pointers()
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()
.
spi
=
spi_flash_ll_get_hw
(
cfg
->
host_id
)
,
spi_flash_hal.c:110
spi_flash_hal_init()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
spi_flash_hal_config_t::host_id
is read by 5 functions:
All items filtered out
spi_flash_hal_config_t::host_id
spi_flash_cal_clock()
spi_flash_hal_init()
memspi_host_init_pointers()
spi_bus_add_flash_device()
esp_flash_init_default_chip()
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