ESP-IDF
SDIO_SLAVE_CHECK
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
SDIO_SLAVE_CHECK
SDIO_SLAVE_CHECK macro
Syntax
Show:
Summary
Declaration
from
sdio_slave_hal.c:21
#define
SDIO_SLAVE_CHECK
(
res
,
str
,
ret_val
)
do
{
if
(
!
(
res
)
)
{
\
HAL_LOGE
(
TAG
,
"%s"
,
str
)
;
\
return
ret_val
;
\
}
}
while
(
0
)
Arguments
Argument
res
str
ret_val
Examples
References
from
examples
Code
Location
#define
SDIO_SLAVE_CHECK
(
res
,
str
,
ret_val
)
do
{
if
(
!
(
res
)
)
{
\
sdio_slave.c:98
#define
SDIO_SLAVE_CHECK
(
res
,
str
,
ret_val
)
do
{
if
(
!
(
res
)
)
{
\
sdio_slave_hal.c:21
SDIO_SLAVE_CHECK
(
*
(
uint32_t
*
)
&
context
.
config
==
0
,
"sdio slave already initialized"
,
ESP_ERR_INVALID_STATE
)
;
sdio_slave.c:228
SDIO_SLAVE_CHECK
(
pos
>=
0
&&
pos
<
8
,
"interrupt num invalid"
,
ESP_ERR_INVALID_ARG
)
;
sdio_slave.c:499
SDIO_SLAVE_CHECK
(
pos
<
8
,
"interrupt num invalid"
,
ESP_ERR_INVALID_ARG
)
;
sdio_slave.c:555
SDIO_SLAVE_CHECK
(
len
>
0
,
"len <= 0"
,
ESP_ERR_INVALID_ARG
)
;
sdio_slave.c:611
SDIO_SLAVE_CHECK
(
esp_ptr_dma_capable
(
addr
)
&&
(
uint32_t
)
addr
%
4
==
0
,
"buffer to send should be DMA capable and 32-bit aligned"
,
sdio_slave.c:612
SDIO_SLAVE_CHECK
(
ret_stamp
==
timestamp
,
"already sent without return before"
,
ESP_ERR_INVALID_STATE
)
;
sdio_slave.c:656
SDIO_SLAVE_CHECK
(
esp_ptr_dma_capable
(
start
)
&&
(
uint32_t
)
start
%
4
==
0
,
sdio_slave.c:761
SDIO_SLAVE_CHECK
(
handle_ret
!=
NULL
,
"handle address cannot be 0"
,
ESP_ERR_INVALID_ARG
)
;
sdio_slave.c:798
SDIO_SLAVE_CHECK
(
send_get_state
(
hal
)
==
STATE_IDLE
,
sdio_slave_hal.c:290
SDIO_SLAVE_CHECK
(
send_get_state
(
hal
)
==
STATE_IDLE
,
sdio_slave_hal.c:367
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