ESP-IDF
sdmmc_hw_cmd_s
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
sdmmc_hw_cmd_s
sdmmc_hw_cmd_s struct
Syntax
Show:
Summary
Declaration
from
sdmmc_struct.h:47
typedef
struct
sdmmc_hw_cmd_s
{
uint32_t
cmd_index
:
6
;
uint32_t
response_expect
:
1
;
uint32_t
response_long
:
1
;
uint32_t
check_response_crc
:
1
;
uint32_t
data_expected
:
1
;
uint32_t
rw
:
1
;
uint32_t
stream_mode
:
1
;
uint32_t
send_auto_stop
:
1
;
uint32_t
wait_complete
:
1
;
uint32_t
stop_abort_cmd
:
1
;
uint32_t
send_init
:
1
;
uint32_t
card_num
:
5
;
uint32_t
update_clk_reg
:
1
;
uint32_t
read_ceata
:
1
;
uint32_t
ccs_expected
:
1
;
uint32_t
enable_boot
:
1
;
uint32_t
expect_boot_ack
:
1
;
uint32_t
disable_boot
:
1
;
uint32_t
boot_mode
:
1
;
uint32_t
volt_switch
:
1
;
uint32_t
use_hold_reg
:
1
;
uint32_t
reserved
:
1
;
uint32_t
start_command
:
1
;
}
sdmmc_hw_cmd_t
;
Fields
Field
Declared as
sdmmc_hw_cmd_s::cmd_index
uint32_t
:
6
sdmmc_hw_cmd_s::response_expect
uint32_t
:
1
sdmmc_hw_cmd_s::response_long
uint32_t
:
1
sdmmc_hw_cmd_s::check_response_crc
uint32_t
:
1
sdmmc_hw_cmd_s::data_expected
uint32_t
:
1
sdmmc_hw_cmd_s::rw
uint32_t
:
1
sdmmc_hw_cmd_s::stream_mode
uint32_t
:
1
sdmmc_hw_cmd_s::send_auto_stop
uint32_t
:
1
sdmmc_hw_cmd_s::wait_complete
uint32_t
:
1
sdmmc_hw_cmd_s::stop_abort_cmd
uint32_t
:
1
sdmmc_hw_cmd_s::send_init
uint32_t
:
1
sdmmc_hw_cmd_s::card_num
uint32_t
:
5
sdmmc_hw_cmd_s::update_clk_reg
uint32_t
:
1
sdmmc_hw_cmd_s::read_ceata
uint32_t
:
1
sdmmc_hw_cmd_s::ccs_expected
uint32_t
:
1
sdmmc_hw_cmd_s::enable_boot
uint32_t
:
1
sdmmc_hw_cmd_s::expect_boot_ack
uint32_t
:
1
sdmmc_hw_cmd_s::disable_boot
uint32_t
:
1
sdmmc_hw_cmd_s::boot_mode
uint32_t
:
1
sdmmc_hw_cmd_s::volt_switch
uint32_t
:
1
sdmmc_hw_cmd_s::use_hold_reg
uint32_t
:
1
sdmmc_hw_cmd_s::reserved
uint32_t
:
1
sdmmc_hw_cmd_s::start_command
uint32_t
:
1
Related Functions
Found 2 other functions taking a
sdmmc_hw_cmd_s
argument:
Function
Description
sdmmc_host_start_command()
sdmmc_ll_set_command()
Set command
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
sdmmc_hw_cmd_s
{
sdmmc_struct.h:47
}
sdmmc_hw_cmd_t
;
///< command format used in cmd register; this structure is defined to make it easier to build command values
sdmmc_struct.h:71
sdmmc_hw_cmd_t
cmd_val
=
{
sdmmc_host.c:192
sdmmc_host_clock_update_command()
esp_err_t
sdmmc_host_start_command
(
int
slot
,
sdmmc_hw_cmd_t
cmd
,
uint32_t
arg
)
sdmmc_host.c:406
sdmmc_host_start_command()
sdmmc_host_start_command()::cmd
esp_err_t
sdmmc_host_start_command
(
int
slot
,
sdmmc_hw_cmd_t
cmd
,
uint32_t
arg
)
;
sdmmc_internal.h:27
sdmmc_host_start_command()
sdmmc_host_start_command()::cmd
static
inline
void
sdmmc_ll_set_command
(
sdmmc_dev_t
*
hw
,
sdmmc_hw_cmd_t
cmd
)
sdmmc_ll.h:492
sdmmc_ll_set_command()
sdmmc_ll_set_command()::cmd
memcpy
(
(
void
*
)
&
hw
->
cmd
,
&
cmd
,
sizeof
(
sdmmc_hw_cmd_t
)
)
;
sdmmc_ll.h:494
sdmmc_ll_set_command()
}
sdmmc_hw_cmd_t
;
///< command format used in cmd register; this structure is defined to make it easier to build command values
sdmmc_struct.h:71
sdmmc_hw_cmd_t
_Static_assert
(
sizeof
(
sdmmc_hw_cmd_t
)
==
4
,
"invalid size of sdmmc_cmd_t structure"
)
;
sdmmc_struct.h:74
volatile
sdmmc_hw_cmd_t
cmd
;
sdmmc_struct.h:183
sdmmc_dev_t
sdmmc_dev_t::cmd
static
sdmmc_hw_cmd_t
make_hw_cmd
(
sdmmc_command_t
*
cmd
)
;
sdmmc_transaction.c:76
make_hw_cmd()
sdmmc_hw_cmd_t
hw_cmd
=
make_hw_cmd
(
cmdinfo
)
;
sdmmc_transaction.c:141
sdmmc_host_do_transaction()
static
sdmmc_hw_cmd_t
make_hw_cmd
(
sdmmc_command_t
*
cmd
)
sdmmc_transaction.c:337
make_hw_cmd()
sdmmc_hw_cmd_t
res
=
{
0
}
;
sdmmc_transaction.c:339
make_hw_cmd()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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
Instance
Scope
Location
Project
sdmmc_dev_t::cmd
sdmmc_dev_t
sdmmc_struct.h:183
return
make_hw_cmd()
sdmmc_transaction.c:76
return
make_hw_cmd()
sdmmc_transaction.c:337
sdmmc_host_start_command()::cmd
sdmmc_host_start_command()
sdmmc_internal.h:27
sdmmc_ll_set_command()::cmd
sdmmc_ll_set_command()
sdmmc_ll.h:492
sdmmc_host_start_command()::cmd
sdmmc_host_start_command()
sdmmc_host.c:406
Lifecycle
from
examples
All items filtered out
All items filtered out