ESP-IDF
spi_flash_ll_get_hw
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
spi_flash_ll_get_hw
spi_flash_ll_get_hw macro
Syntax
Show:
Summary
Declaration
from
spi_flash_ll.h:34
#define
spi_flash_ll_get_hw
(
host_id
)
(
(
(
host_id
)
==
SPI1_HOST
)
?
&
SPI1
:
(
\
(
(
host_id
)
==
SPI2_HOST
)
?
&
SPI2
:
(
\
(
(
host_id
)
==
SPI3_HOST
)
?
&
SPI3
:
(
\
{
abort
(
)
;
(
spi_dev_t
*
)
0
;
}
\
)
)
)
)
Arguments
Argument
host_id
Examples
References
from
examples
Code
Location
#define
spi_flash_ll_get_hw
(
host_id
)
(
(
(
host_id
)
==
SPI1_HOST
)
?
&
SPI1
:
(
\
spi_flash_ll.h:34
if
(
(
void
*
)
(
(
memspi_host_inst_t
*
)
host
)
->
spi
==
(
void
*
)
spi_flash_ll_get_hw
(
SPI1_HOST
)
)
{
memspi_host_driver.c:134
.
spi
=
spi_flash_ll_get_hw
(
cfg
->
host_id
)
,
spi_flash_hal.c:110
bool
direct_write
=
(
(
(
spi_flash_hal_context_t
*
)
host
)
->
spi
!=
spi_flash_ll_get_hw
(
SPI1_HOST
)
)
;
spi_flash_hal.c:151
bool
direct_read
=
(
(
(
spi_flash_hal_context_t
*
)
host
)
->
spi
!=
spi_flash_ll_get_hw
(
SPI1_HOST
)
)
;
spi_flash_hal.c:160
if
(
(
void
*
)
dev
==
spi_flash_ll_get_hw
(
SPI1_HOST
)
)
{
spi_flash_hal_iram.c:117
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
Lifecycle
from
examples
All items filtered out
All items filtered out