ESP-IDF
i2c_cmd_desc_t::head
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2c_cmd_desc_t::head
i2c_cmd_desc_t::head field
head of the command link
Syntax
Show:
Summary
Declaration
from
i2c.c:157
i2c_cmd_link_t
*
head
;
Examples
References
from
examples
Code
Location
Referrer
i2c_cmd_link_t
*
head
;
/*!< head of the command link */
i2c.c:157
p_i2c
->
cmd_link
.
head
=
NULL
;
i2c.c:396
i2c_driver_install()
cmd_desc
->
head
=
NULL
;
i2c.c:1154
i2c_cmd_link_create_static()
cmd
->
head
=
NULL
;
i2c.c:1203
i2c_cmd_link_delete()
if
(
cmd_desc
->
head
==
NULL
)
{
i2c.c:1258
i2c_cmd_link_append()
err
=
i2c_cmd_allocate
(
cmd_desc
,
1
,
sizeof
(
i2c_cmd_link_t
)
,
(
void
*
*
)
&
cmd_desc
->
head
)
;
i2c.c:1259
i2c_cmd_link_append()
cmd_desc
->
cur
=
cmd_desc
->
head
;
i2c.c:1264
i2c_cmd_link_append()
cmd_desc
->
free
=
cmd_desc
->
head
;
i2c.c:1265
i2c_cmd_link_append()
if
(
p_i2c
->
cmd_link
.
head
!=
NULL
&&
p_i2c
->
status
==
I2C_STATUS_READ
)
{
i2c.c:1409
i2c_master_cmd_begin_static()
i2c_cmd_t
*
cmd
=
&
p_i2c
->
cmd_link
.
head
->
cmd
;
i2c.c:1410
i2c_master_cmd_begin_static()
p_i2c
->
cmd_link
.
head
=
p_i2c
->
cmd_link
.
head
->
next
;
i2c.c:1419
i2c_master_cmd_begin_static()
if
(
p_i2c
->
cmd_link
.
head
!=
NULL
)
{
i2c.c:1420
i2c_master_cmd_begin_static()
p_i2c
->
cmd_link
.
head
->
cmd
.
bytes_used
=
0
;
i2c.c:1421
i2c_master_cmd_begin_static()
if
(
p_i2c
->
cmd_link
.
head
==
NULL
)
{
i2c.c:1434
i2c_master_cmd_begin_static()
while
(
p_i2c
->
cmd_link
.
head
)
{
i2c.c:1446
i2c_master_cmd_begin_static()
i2c_cmd_t
*
cmd
=
&
p_i2c
->
cmd_link
.
head
->
cmd
;
i2c.c:1447
i2c_master_cmd_begin_static()
p_i2c
->
cmd_link
.
head
=
p_i2c
->
cmd_link
.
head
->
next
;
i2c.c:1479
i2c_master_cmd_begin_static()
if
(
p_i2c
->
cmd_link
.
head
)
{
i2c.c:1480
i2c_master_cmd_begin_static()
p_i2c
->
cmd_link
.
head
->
cmd
.
bytes_used
=
0
;
i2c.c:1481
i2c_master_cmd_begin_static()
p_i2c
->
cmd_link
.
head
=
p_i2c
->
cmd_link
.
head
->
next
;
i2c.c:1500
i2c_master_cmd_begin_static()
if
(
p_i2c
->
cmd_link
.
head
==
NULL
||
p_i2c
->
cmd_idx
>=
(
SOC_I2C_CMD_REG_NUM
-
1
)
)
{
i2c.c:1501
i2c_master_cmd_begin_static()
!
is_cmd_link_buffer_internal
(
(
(
const
i2c_cmd_desc_t
*
)
cmd_handle
)
->
head
)
)
{
i2c.c:1542
i2c_master_cmd_begin()
cmd
->
head
->
cmd
.
bytes_used
=
0
;
i2c.c:1570
i2c_master_cmd_begin()
p_i2c
->
cmd_link
.
head
=
cmd
->
head
;
i2c.c:1573
i2c_master_cmd_begin()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2c_cmd_desc_t::head
is written by 5 functions and is read by 3 functions:
i2c_driver_install()
i2c_cmd_link_create_static()
i2c_cmd_link_delete()
i2c_master_cmd_begin_static()
i2c_master_cmd_begin()
All items filtered out
i2c_cmd_desc_t::head
i2c_cmd_link_append()
i2c_master_cmd_begin_static()
i2c_master_cmd_begin()
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