ESP-IDF
SPI_TAG
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
SPI_TAG
SPI_TAG variable
Syntax
Show:
Summary
Declaration
from
spi_common.c:32
static
const
char
*
SPI_TAG
=
"spi"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
SPI_TAG
=
"spi"
;
spi_common.c:32
SPI_CHECK
(
false
,
"no available dma channel"
,
ESP_ERR_NOT_FOUND
)
;
spi_common.c:205
alloc_dma_chan()
SPI_CHECK_PIN
(
bus_config
->
sclk_io_num
,
"sclk"
,
sclk_need_output
)
;
spi_common.c:534
spicommon_bus_initialize_io()
SPI_CHECK_PIN
(
bus_config
->
quadwp_io_num
,
"wp"
,
wp_need_output
)
;
spi_common.c:537
spicommon_bus_initialize_io()
SPI_CHECK_PIN
(
bus_config
->
quadhd_io_num
,
"hd"
,
hd_need_output
)
;
spi_common.c:540
spicommon_bus_initialize_io()
SPI_CHECK_PIN
(
bus_config
->
mosi_io_num
,
"mosi"
,
mosi_need_output
)
;
spi_common.c:571
spicommon_bus_initialize_io()
SPI_CHECK_PIN
(
bus_config
->
miso_io_num
,
"miso"
,
miso_need_output
)
;
spi_common.c:575
spicommon_bus_initialize_io()
ESP_LOGE
(
SPI_TAG
,
"sclk pin required."
)
;
spi_common.c:598
spicommon_bus_initialize_io()
ESP_LOGE
(
SPI_TAG
,
"mosi pin required."
)
;
spi_common.c:601
spicommon_bus_initialize_io()
ESP_LOGE
(
SPI_TAG
,
"miso pin required."
)
;
spi_common.c:604
spicommon_bus_initialize_io()
ESP_LOGE
(
SPI_TAG
,
"not both mosi and miso output capable"
)
;
spi_common.c:607
spicommon_bus_initialize_io()
ESP_LOGE
(
SPI_TAG
,
"both wp and hd required."
)
;
spi_common.c:610
spicommon_bus_initialize_io()
ESP_LOGE
(
SPI_TAG
,
"not using iomux pins"
)
;
spi_common.c:613
spicommon_bus_initialize_io()
SPI_CHECK
(
missing_flag
==
0
,
"not all required capabilities satisfied."
,
ESP_ERR_INVALID_ARG
)
;
spi_common.c:620
spicommon_bus_initialize_io()
ESP_LOGD
(
SPI_TAG
,
"SPI%d use iomux pins."
,
host
+
1
)
;
spi_common.c:626
spicommon_bus_initialize_io()
ESP_LOGD
(
SPI_TAG
,
"SPI%d use gpio matrix."
,
host
+
1
)
;
spi_common.c:630
spicommon_bus_initialize_io()
SPI_CHECK
(
is_valid_host
(
host_id
)
,
"invalid host_id"
,
ESP_ERR_INVALID_ARG
)
;
spi_common.c:801
spi_bus_initialize()
SPI_CHECK
(
bus_ctx
[
host_id
]
==
NULL
,
"SPI bus already initialized."
,
ESP_ERR_INVALID_STATE
)
;
spi_common.c:802
spi_bus_initialize()
SPI_CHECK
(
dma_chan
>=
SPI_DMA_DISABLED
&&
dma_chan
<=
SPI_DMA_CH_AUTO
,
"invalid dma channel"
,
ESP_ERR_INVALID_ARG
)
;
spi_common.c:804
spi_bus_initialize()
SPI_CHECK
(
(
bus_config
->
intr_flags
&
(
ESP_INTR_FLAG_HIGH
|
ESP_INTR_FLAG_EDGE
|
ESP_INTR_FLAG_INTRDISABLED
)
)
==
0
,
"intr flag not allowed"
,
ESP_ERR_INVALID_ARG
)
;
spi_common.c:810
spi_bus_initialize()
SPI_CHECK
(
(
bus_config
->
data_io_default_level
==
0
)
,
"no support changing io default level "
,
ESP_ERR_INVALID_ARG
)
;
spi_common.c:815
spi_bus_initialize()
SPI_CHECK
(
spi_chan_claimed
,
"host_id already in use"
,
ESP_ERR_INVALID_STATE
)
;
spi_common.c:819
spi_bus_initialize()
ESP_LOGE
(
SPI_TAG
,
"power down peripheral in sleep is not enabled or not supported on your target"
)
;
spi_common.c:886
spi_bus_initialize()
ESP_RETURN_ON_FALSE
(
(
extra_heap_caps
&
MALLOC_CAP_SPIRAM
)
==
0
,
NULL
,
SPI_TAG
,
"external memory is not supported now"
)
;
spi_common.c:929
spi_bus_dma_memory_alloc()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
SPI_TAG
is read by 4 functions:
All items filtered out
SPI_TAG
alloc_dma_chan()
spicommon_bus_initialize_io()
spi_bus_initialize()
spi_bus_dma_memory_alloc()
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