rpr_server sample
IIC_CHECK
is only used within rpr_server sample.
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
rpr_server sample
IIC_CHECK
IIC_CHECK macro
Syntax
Show:
Summary
Declaration
from
iic.c:41
#define
IIC_CHECK
(
a
,
str
,
action
,
...
)
\
if
(
unlikely
(
!
(
a
)
)
)
{
\
ESP_LOGE
(
TAG
,
str
,
##
__VA_ARGS__
)
;
\
action
;
\
}
Arguments
Argument
a
str
action
Examples
References
from
examples
Code
Location
#define
IIC_CHECK
(
a
,
str
,
action
,
...
)
\
iic.c:41
IIC_CHECK
(
err
==
ESP_OK
,
"i2c param config fail"
,
return
err
)
;
iic.c:117
IIC_CHECK
(
err
==
ESP_OK
,
"i2c driver install fail"
,
return
err
)
;
iic.c:120
IIC_CHECK
(
s_obj
,
"alloc fail"
,
return
ESP_ERR_NO_MEM
)
;
iic.c:123
IIC_CHECK
(
!
s_obj
->
cmd_queue_handle
||
!
s_obj
->
send_task_handle
,
"already initialized"
,
return
ESP_ERR_INVALID_STATE
)
;
iic.c:156
IIC_CHECK
(
s_obj
->
cmd_queue_handle
,
"queue create fail"
,
goto
EXIT
)
;
iic.c:159
IIC_CHECK
(
s_obj
->
send_task_handle
,
"task create fail"
,
goto
EXIT
)
;
iic.c:162
IIC_CHECK
(
s_obj
->
cmd_queue_handle
||
s_obj
->
send_task_handle
,
"handle is null"
,
return
ESP_ERR_INVALID_STATE
)
;
iic.c:173
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