ESP-IDF
SPI_CHECK_PIN
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_CHECK_PIN
SPI_CHECK_PIN macro
Syntax
Show:
Summary
Declaration
from
spi_common.c:36
#define
SPI_CHECK_PIN
(
pin_num
,
pin_name
,
check_output
)
if
(
check_output
)
{
\
SPI_CHECK
(
GPIO_IS_VALID_OUTPUT_GPIO
(
pin_num
)
,
pin_name
" not valid"
,
ESP_ERR_INVALID_ARG
)
;
\
}
else
{
\
SPI_CHECK
(
GPIO_IS_VALID_GPIO
(
pin_num
)
,
pin_name
" not valid"
,
ESP_ERR_INVALID_ARG
)
;
\
}
Arguments
Argument
pin_num
pin_name
check_output
Examples
References
from
examples
Code
Location
#define
SPI_CHECK_PIN
(
pin_num
,
pin_name
,
check_output
)
if
(
check_output
)
{
\
spi_common.c:36
SPI_CHECK_PIN
(
bus_config
->
sclk_io_num
,
"sclk"
,
sclk_need_output
)
;
spi_common.c:534
SPI_CHECK_PIN
(
bus_config
->
quadwp_io_num
,
"wp"
,
wp_need_output
)
;
spi_common.c:537
SPI_CHECK_PIN
(
bus_config
->
quadhd_io_num
,
"hd"
,
hd_need_output
)
;
spi_common.c:540
SPI_CHECK_PIN
(
bus_config
->
mosi_io_num
,
"mosi"
,
mosi_need_output
)
;
spi_common.c:571
SPI_CHECK_PIN
(
bus_config
->
miso_io_num
,
"miso"
,
miso_need_output
)
;
spi_common.c:575
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