ESP-IDF
host_ctx_t::slot_ctx
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
host_ctx_t::slot_ctx
host_ctx_t::slot_ctx field
Syntax
Show:
Summary
Declaration
from
sdmmc_host.c:91
slot_ctx_t
slot_ctx
[
SOC_SDMMC_NUM_SLOTS
]
;
Examples
References
from
examples
Code
Location
Referrer
slot_ctx_t
slot_ctx
[
SOC_SDMMC_NUM_SLOTS
]
;
sdmmc_host.c:91
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_freq_khz
=
freq_khz
;
sdmmc_host.c:332
sdmmc_host_set_card_clk()
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_host_div
=
host_div
;
sdmmc_host.c:334
sdmmc_host_set_card_clk()
if
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_id
!=
slot
)
{
sdmmc_host.c:608
sdmmc_host_is_slot_set_to_uhs1()
*
is_uhs1
=
s_host_ctx
.
slot_ctx
[
slot
]
.
is_uhs1
;
sdmmc_host.c:613
sdmmc_host_is_slot_set_to_uhs1()
s_host_ctx
.
slot_ctx
[
slot
]
.
is_uhs1
=
true
;
sdmmc_host.c:631
sdmmc_host_init_slot()
sdmmc_slot_io_info_t
*
slot_gpio
=
&
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
;
sdmmc_host.c:641
sdmmc_host_init_slot()
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_width
=
slot_width
;
sdmmc_host.c:648
sdmmc_host_init_slot()
s_host_ctx
.
slot_ctx
[
slot
]
.
use_gpio_matrix
=
use_gpio_matrix
;
sdmmc_host.c:675
sdmmc_host_init_slot()
sdmmc_host_pullup_en_internal
(
slot
,
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_width
)
;
sdmmc_host.c:714
sdmmc_host_init_slot()
if
(
s_host_ctx
.
slot_ctx
[
slot
]
.
is_uhs1
)
{
sdmmc_host.c:741
sdmmc_host_init_slot()
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_id
=
slot
;
sdmmc_host.c:811
sdmmc_host_init_slot()
sdmmc_slot_io_info_t
*
gpio
=
&
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
;
sdmmc_host.c:855
sdmmc_host_deinit_slot_internal()
memset
(
&
(
s_host_ctx
.
slot_ctx
[
slot
]
)
,
0
,
sizeof
(
slot_ctx_t
)
)
;
sdmmc_host.c:864
sdmmc_host_deinit_slot_internal()
if
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_host_div
==
0
)
{
sdmmc_host.c:905
sdmmc_host_slot_initialized()
sdmmc_ll_set_clock_div
(
s_host_ctx
.
hal
.
dev
,
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_host_div
)
;
sdmmc_host.c:916
sdmmc_host_change_to_slot()
sdmmc_host_set_data_timeout
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_freq_khz
)
;
sdmmc_host.c:921
sdmmc_host_change_to_slot()
configure_pin
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d3
,
sdmmc_slot_gpio_sig
[
slot
]
.
d3
,
GPIO_MODE_INPUT_OUTPUT
,
"d3"
,
s_host_ctx
.
slot_ctx
[
slot
]
.
use_gpio_matrix
)
;
sdmmc_host.c:955
sdmmc_host_set_bus_width()
configure_pin
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d3
,
sdmmc_slot_gpio_sig
[
slot
]
.
d3
,
GPIO_MODE_INPUT_OUTPUT
,
"d3"
,
s_host_ctx
.
slot_ctx
[
slot
]
.
use_gpio_matrix
)
;
sdmmc_host.c:959
sdmmc_host_set_bus_width()
return
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_width
;
sdmmc_host.c:970
sdmmc_host_get_slot_width()
if
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_width
==
8
&&
ddr_enabled
)
{
sdmmc_host.c:977
sdmmc_host_set_bus_ddr_mode()
configure_pin
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d1
,
sdmmc_slot_gpio_sig
[
slot
]
.
d1
,
GPIO_MODE_INPUT_OUTPUT
,
"d1"
,
s_host_ctx
.
slot_ctx
[
slot
]
.
use_gpio_matrix
)
;
sdmmc_host.c:1038
sdmmc_host_io_int_enable()
if
(
gpio_get_level
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d1
)
==
0
)
{
sdmmc_host.c:1062
sdmmc_host_io_int_wait()
gpio_pullup_en
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
cmd
)
;
sdmmc_host.c:1136
sdmmc_host_pullup_en_internal()
gpio_pullup_en
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d0
)
;
sdmmc_host.c:1137
sdmmc_host_pullup_en_internal()
gpio_pullup_en
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d1
)
;
sdmmc_host.c:1139
sdmmc_host_pullup_en_internal()
gpio_pullup_en
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d2
)
;
sdmmc_host.c:1140
sdmmc_host_pullup_en_internal()
gpio_pullup_en
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d3
)
;
sdmmc_host.c:1141
sdmmc_host_pullup_en_internal()
gpio_pullup_en
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d4
)
;
sdmmc_host.c:1144
sdmmc_host_pullup_en_internal()
gpio_pullup_en
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d5
)
;
sdmmc_host.c:1145
sdmmc_host_pullup_en_internal()
gpio_pullup_en
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d6
)
;
sdmmc_host.c:1146
sdmmc_host_pullup_en_internal()
gpio_pullup_en
(
s_host_ctx
.
slot_ctx
[
slot
]
.
slot_gpio_num
.
d7
)
;
sdmmc_host.c:1147
sdmmc_host_pullup_en_internal()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
host_ctx_t::slot_ctx
is read by 12 functions:
All items filtered out
host_ctx_t::slot_ctx
sdmmc_host_set_card_clk()
sdmmc_host_is_slot_set_to_uhs1()
sdmmc_host_init_slot()
sdmmc_host_deinit_slot_internal()
sdmmc_host_slot_initialized()
sdmmc_host_change_to_slot()
sdmmc_host_set_bus_width()
sdmmc_host_get_slot_width()
sdmmc_host_set_bus_ddr_mode()
sdmmc_host_io_int_enable()
sdmmc_host_io_int_wait()
sdmmc_host_pullup_en_internal()
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