ESP-IDF
esp_flash_t::read_mode
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_flash_t::read_mode
esp_flash_t::read_mode field
Syntax
Show:
Summary
Declaration
from
esp_flash.h:101
esp_flash_io_mode_t
read_mode
;
Examples
References
from
examples
Code
Location
Referrer
esp_flash_io_mode_t
read_mode
;
///< Configured SPI flash read mode. Set before ``esp_flash_init`` is called.
esp_flash.h:101
return
(
chip
->
read_mode
==
SPI_FLASH_QIO
)
||
(
chip
->
read_mode
==
SPI_FLASH_QOUT
)
;
esp_flash.h:382
esp_flash_is_quad_mode()
ESP_LOGI
(
TAG
,
"flash io: %s"
,
io_mode_str
[
chip
->
read_mode
]
)
;
esp_flash_api.c:306
esp_flash_init()
octal_mode
=
(
chip
->
read_mode
>=
SPI_FLASH_OPI_FLAG
)
;
esp_flash_api.c:341
esp_flash_init_main()
ESP_EARLY_LOGI
(
TAG
,
"flash io: %s"
,
io_mode_str
[
chip
->
read_mode
]
)
;
esp_flash_api.c:386
esp_flash_init_main()
chip
->
read_mode
=
(
qe
?
SPI_FLASH_QOUT
:
SPI_FLASH_SLOWRD
)
;
esp_flash_api.c:1188
esp_flash_set_io_mode()
.
read_mode
=
config
->
io_mode
,
esp_flash_spi_init.c:245
spi_bus_add_flash_device()
.
read_mode
=
DEFAULT_FLASH_MODE
,
esp_flash_spi_init.c:318
esp_flash_io_mode_t
read_mode
=
chip
->
read_mode
;
spi_flash_chip_generic.c:424
spi_flash_chip_generic_config_host_io_mode()
if
(
chip
->
read_mode
>=
SPI_FLASH_OPI_FLAG
)
{
spi_flash_chip_mxic.c:22
spi_flash_chip_mxic_probe()
if
(
chip
->
read_mode
<
SPI_FLASH_OPI_FLAG
)
{
spi_flash_chip_mxic_opi.c:33
spi_flash_chip_mxic_opi_probe()
spi_flash_chip_mxic_opi_get_data_length_zoom
(
chip
->
read_mode
,
&
length_zoom
)
;
spi_flash_chip_mxic_opi.c:101
spi_flash_chip_mxic_opi_read_id()
if
(
chip
->
read_mode
==
SPI_FLASH_OPI_DTR
)
{
spi_flash_chip_mxic_opi.c:112
spi_flash_chip_mxic_opi_read_id()
spi_flash_chip_mxic_opi_get_data_length_zoom
(
chip
->
read_mode
,
&
length_zoom
)
;
spi_flash_chip_mxic_opi.c:136
spi_flash_chip_mxic_opi_read_reg()
spi_flash_chip_mxic_opi_get_data_length_zoom
(
chip
->
read_mode
,
&
length_zoom
)
;
spi_flash_chip_mxic_opi.c:316
spi_flash_chip_mxic_opi_get_io_mode()
if
(
*
out_io_mode
!=
chip
->
read_mode
)
{
spi_flash_chip_mxic_opi.c:344
spi_flash_chip_mxic_opi_get_io_mode()
esp_flash_io_mode_t
read_mode
=
chip
->
read_mode
;
spi_flash_chip_mxic_opi.c:367
spi_flash_chip_xmic_opi_config_host_io_mode()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_flash_t::read_mode
is written by 1 function and is read by 10 functions:
esp_flash_set_io_mode()
All items filtered out
esp_flash_t::read_mode
esp_flash_is_quad_mode()
spi_flash_chip_generic_config_host_io_mode()
spi_flash_chip_mxic_probe()
spi_flash_chip_mxic_opi_probe()
spi_flash_chip_mxic_opi_read_id()
spi_flash_chip_mxic_opi_read_reg()
spi_flash_chip_mxic_opi_get_io_mode()
spi_flash_chip_xmic_opi_config_host_io_mode()
esp_flash_init()
esp_flash_init_main()
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