ESP-IDF
i2s_dma_t::desc_num
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (4/5)...
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::desc_num
i2s_dma_t::desc_num field
I2S DMA buffer number, it is also the number of DMA descriptor
Syntax
Show:
Summary
Declaration
from
i2s_private.h:117
uint32_t
desc_num
;
Examples
References
from
examples
Code
Location
Referrer
uint32_t
desc_num
;
/*!< I2S DMA buffer number, it is also the number of DMA descriptor */
i2s_private.h:117
for
(
int
i
=
0
;
i
<
handle
->
dma
.
desc_num
;
i
++
)
{
i2s_common.c:462
i2s_free_dma_desc()
handle
->
dma
.
desc_num
=
num
;
i2s_common.c:489
i2s_alloc_dma_desc()
i2s_obj
->
tx_chan
->
dma
.
desc_num
=
chan_cfg
->
dma_desc_num
;
i2s_common.c:981
i2s_new_channel()
i2s_obj
->
rx_chan
->
dma
.
desc_num
=
chan_cfg
->
dma_desc_num
;
i2s_common.c:994
i2s_new_channel()
chan_info
->
total_dma_buf_size
=
handle
->
state
>=
I2S_CHAN_STATE_READY
?
handle
->
dma
.
desc_num
*
handle
->
dma
.
buf_size
:
0
;
i2s_common.c:1143
i2s_channel_get_info()
ESP_RETURN_ON_ERROR
(
i2s_alloc_dma_desc
(
handle
,
handle
->
dma
.
desc_num
,
buf_size
)
,
i2s_pdm.c:100
i2s_pdm_tx_set_slot()
ESP_RETURN_ON_ERROR
(
i2s_alloc_dma_desc
(
handle
,
handle
->
dma
.
desc_num
,
buf_size
)
,
i2s_pdm.c:388
i2s_pdm_rx_set_slot()
ESP_RETURN_ON_ERROR
(
i2s_alloc_dma_desc
(
handle
,
handle
->
dma
.
desc_num
,
buf_size
)
,
i2s_std.c:111
i2s_std_set_slot()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2s_dma_t::desc_num
is written by 2 functions and is read by 5 functions:
i2s_alloc_dma_desc()
i2s_new_channel()
All items filtered out
i2s_dma_t::desc_num
i2s_free_dma_desc()
i2s_channel_get_info()
i2s_std_set_slot()
i2s_pdm_tx_set_slot()
i2s_pdm_rx_set_slot()
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