ESP-IDF
i2c_cmd_allocate()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2c_cmd_allocate()
i2c_cmd_allocate() function
Syntax
Show:
Summary
Declaration
from
i2c.c:1208
static
esp_err_t
i2c_cmd_allocate
(
i2c_cmd_desc_t
*
cmd_desc
,
size_t
n
,
size_t
size
,
void
*
*
outptr
)
;
Arguments
Argument
cmd_desc
n
size
outptr
Related Functions
Found 2 other functions taking a
i2c_cmd_desc_t
argument:
Function
i2c_cmd_link_is_static()
i2c_cmd_log_alloc_error()
Examples
References
from
examples
Code
Location
Referrer
static
esp_err_t
i2c_cmd_allocate
(
i2c_cmd_desc_t
*
cmd_desc
,
size_t
n
,
size_t
size
,
void
*
*
outptr
)
i2c.c:1208
err
=
i2c_cmd_allocate
(
cmd_desc
,
1
,
sizeof
(
i2c_cmd_link_t
)
,
(
void
*
*
)
&
cmd_desc
->
head
)
;
i2c.c:1259
i2c_cmd_link_append()
err
=
i2c_cmd_allocate
(
cmd_desc
,
1
,
sizeof
(
i2c_cmd_link_t
)
,
(
void
*
*
)
&
cmd_desc
->
cur
->
next
)
;
i2c.c:1268
i2c_cmd_link_append()
Call Tree
from
examples
i2c_cmd_allocate()
is called by 1 function and calls 2 functions:
i2c_cmd_link_append()
All items filtered out
i2c_cmd_allocate()
heap_caps_calloc()
i2c_cmd_link_is_static()
All items filtered out
Data Use
from
examples
i2c_cmd_allocate()
reads 2 variables and writes 2 variables:
i2c_cmd_desc_t::free_buffer
i2c_cmd_desc_t::free_size
All items filtered out
i2c_cmd_allocate()
i2c_cmd_desc_t::free_buffer
i2c_cmd_desc_t::free_size
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