ESP-IDF
+
0
/1 examples
SourceVu will show references to
spi_flash_host_driver_s::common_command
from the following samples and libraries:
custom_flash_driver sample
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_host_driver_s::common_command
spi_flash_host_driver_s::common_command field
Send an user-defined spi transaction to the device.
Syntax
Show:
Summary
Declaration
from
spi_flash_types.h:144
esp_err_t
(
*
common_command
)
(
spi_flash_host_inst_t
*
host
,
spi_flash_trans_t
*
t
)
;
Examples
spi_flash_host_driver_s::common_command
is referenced by 1 libraries and example projects:
custom_flash_driver sample
References
from
0/1
examples
Code
Location
Referrer
esp_err_t
(
*
common_command
)
(
spi_flash_host_inst_t
*
host
,
spi_flash_trans_t
*
t
)
;
spi_flash_types.h:144
DRAM_ATTR
static
const
spi_flash_host_driver_t
esp_flash_default_host
=
ESP_FLASH_DEFAULT_HOST_DRIVER
(
)
;
memspi_host_driver.c:20
host
->
driver
->
common_command
(
host
,
&
t
)
;
memspi_host_driver.c:99
memspi_host_read_id_hs()
esp_err_t
err
=
host
->
driver
->
common_command
(
host
,
&
t
)
;
memspi_host_driver.c:124
memspi_host_read_status_hs()
host
->
driver
->
common_command
(
host
,
&
t
)
;
memspi_host_driver.c:144
memspi_host_erase_chip()
host
->
driver
->
common_command
(
host
,
&
t
)
;
memspi_host_driver.c:156
memspi_host_erase_sector()
host
->
driver
->
common_command
(
host
,
&
t
)
;
memspi_host_driver.c:168
memspi_host_erase_block()
host
->
driver
->
common_command
(
host
,
&
t
)
;
memspi_host_driver.c:182
memspi_host_program_page()
host
->
driver
->
common_command
(
host
,
&
t
)
;
memspi_host_driver.c:194
memspi_host_read()
host
->
driver
->
common_command
(
host
,
&
t
)
;
memspi_host_driver.c:203
memspi_host_set_write_protect()
esp_err_t
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:129
spi_flash_chip_generic_reset()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:137
spi_flash_chip_generic_reset()
esp_err_t
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
transfer
)
;
spi_flash_chip_generic.c:582
spi_flash_chip_generic_read_unique_id()
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:625
spi_flash_chip_generic_get_caps()
esp_err_t
ret
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:703
spi_flash_common_read_qe_sr()
return
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:716
spi_flash_common_write_qe_sr()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:77
spi_flash_chip_mxic_opi_set_write_protect()
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:110
spi_flash_chip_mxic_opi_read_id()
esp_err_t
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:144
spi_flash_chip_mxic_opi_read_reg()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:182
spi_flash_chip_mxic_opi_erase_chip()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:212
spi_flash_chip_mxic_opi_erase_sector()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:241
spi_flash_chip_mxic_opi_erase_block()
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:272
spi_flash_chip_mxic_opi_page_program()
esp_err_t
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:325
spi_flash_chip_mxic_opi_get_io_mode()
return
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_winbond.c:206
spi_flash_command_winbond_program_4B()
return
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_winbond.c:218
spi_flash_command_winbond_erase_sector_4B()
return
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_winbond.c:230
spi_flash_command_erase_block_4B()
Call Tree
from
0/1
examples
spi_flash_host_driver_s::common_command
is called by 24 functions:
spi_flash_chip_generic_reset()
spi_flash_chip_generic_read_unique_id()
spi_flash_chip_generic_get_caps()
spi_flash_common_read_qe_sr()
spi_flash_common_write_qe_sr()
spi_flash_command_winbond_program_4B()
spi_flash_command_winbond_erase_sector_4B()
spi_flash_command_erase_block_4B()
spi_flash_chip_mxic_opi_set_write_protect()
spi_flash_chip_mxic_opi_read_id()
spi_flash_chip_mxic_opi_read_reg()
spi_flash_chip_mxic_opi_erase_chip()
spi_flash_chip_mxic_opi_erase_sector()
spi_flash_chip_mxic_opi_erase_block()
spi_flash_chip_mxic_opi_page_program()
spi_flash_chip_mxic_opi_get_io_mode()
memspi_host_read_id_hs()
memspi_host_read_status_hs()
memspi_host_erase_chip()
memspi_host_erase_sector()
memspi_host_erase_block()
memspi_host_program_page()
memspi_host_read()
memspi_host_set_write_protect()
All items filtered out
spi_flash_host_driver_s::common_command
All items filtered out
Data Use
from
0/1
examples
All items filtered out
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Lifecycle
from
0/1
examples
All items filtered out
All items filtered out