ESP-IDF
i2s_dma_t::buf
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2s_dma_t::buf
i2s_dma_t::buf field
Syntax
Show:
Summary
Declaration
from
i2s_legacy.c:121
char
*
*
buf
;
Examples
References
from
examples
Code
Location
Referrer
char
*
*
buf
;
i2s_legacy.c:121
if
(
dma_obj
->
buf
&&
dma_obj
->
buf
[
cnt
]
)
{
i2s_legacy.c:569
i2s_delete_dma_buffer()
free
(
dma_obj
->
buf
[
cnt
]
)
;
i2s_legacy.c:570
i2s_delete_dma_buffer()
dma_obj
->
buf
[
cnt
]
=
NULL
;
i2s_legacy.c:571
i2s_delete_dma_buffer()
dma_obj
->
buf
[
cnt
]
=
heap_caps_aligned_calloc
(
4
,
1
,
sizeof
(
char
)
*
dma_obj
->
buf_size
,
i2s_legacy.c:585
i2s_alloc_dma_buffer()
ESP_GOTO_ON_FALSE
(
dma_obj
->
buf
[
cnt
]
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"Error malloc dma buffer"
)
;
i2s_legacy.c:587
i2s_alloc_dma_buffer()
dma_obj
->
desc
[
cnt
]
->
buf
=
(
uint8_t
*
)
dma_obj
->
buf
[
cnt
]
;
i2s_legacy.c:604
i2s_alloc_dma_buffer()
if
(
(
*
dma
)
->
buf
)
{
i2s_legacy.c:650
i2s_destroy_dma_object()
free
(
(
*
dma
)
->
buf
)
;
i2s_legacy.c:651
i2s_destroy_dma_object()
(
*
dma
)
->
buf
=
NULL
;
i2s_legacy.c:652
i2s_destroy_dma_object()
(
*
dma
)
->
buf
=
(
char
*
*
)
heap_caps_calloc
(
buf_cnt
,
sizeof
(
char
*
)
,
MALLOC_CAP_DMA
)
;
i2s_legacy.c:674
i2s_create_dma_object()
if
(
!
(
*
dma
)
->
buf
)
{
i2s_legacy.c:675
i2s_create_dma_object()
if
(
p_i2s
[
i2s_num
]
->
rx
&&
p_i2s
[
i2s_num
]
->
rx
->
buf
!=
NULL
&&
p_i2s
[
i2s_num
]
->
rx
->
buf_size
!=
0
)
{
i2s_legacy.c:1888
i2s_zero_dma_buffer()
memset
(
p_i2s
[
i2s_num
]
->
rx
->
buf
[
i
]
,
0
,
p_i2s
[
i2s_num
]
->
rx
->
buf_size
)
;
i2s_legacy.c:1890
i2s_zero_dma_buffer()
if
(
p_i2s
[
i2s_num
]
->
tx
&&
p_i2s
[
i2s_num
]
->
tx
->
buf
!=
NULL
&&
p_i2s
[
i2s_num
]
->
tx
->
buf_size
!=
0
)
{
i2s_legacy.c:1895
i2s_zero_dma_buffer()
memset
(
p_i2s
[
i2s_num
]
->
tx
->
buf
[
i
]
,
0
,
p_i2s
[
i2s_num
]
->
tx
->
buf_size
)
;
i2s_legacy.c:1904
i2s_zero_dma_buffer()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2s_dma_t::buf
is written by 2 functions and is read by 5 functions:
i2s_destroy_dma_object()
i2s_create_dma_object()
All items filtered out
i2s_dma_t::buf
i2s_delete_dma_buffer()
i2s_alloc_dma_buffer()
i2s_destroy_dma_object()
i2s_create_dma_object()
i2s_zero_dma_buffer()
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