ESP-IDF
i2s_dma_t::curr_ptr
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/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::curr_ptr
i2s_dma_t::curr_ptr field
Pointer to current dma buffer
Syntax
Show:
Summary
Declaration
from
i2s_legacy.c:124
volatile
void
*
curr_ptr
;
Examples
References
from
examples
Code
Location
Referrer
volatile
void
*
curr_ptr
;
i2s_legacy.c:124
void
*
curr_ptr
;
/*!< Pointer to current dma buffer */
i2s_private.h:123
new_chan
->
dma
.
curr_ptr
=
NULL
;
i2s_common.c:346
i2s_register_channel()
handle
->
dma
.
curr_ptr
=
NULL
;
i2s_common.c:1199
i2s_channel_disable()
tx_handle
->
dma
.
curr_ptr
=
(
void
*
)
tx_handle
->
dma
.
desc
[
0
]
->
buf
;
i2s_common.c:1230
i2s_channel_preload_data()
memcpy
(
(
uint8_t
*
)
(
tx_handle
->
dma
.
curr_ptr
+
tx_handle
->
dma
.
rw_pos
)
,
data_ptr
,
bytes_can_load
)
;
i2s_common.c:1243
i2s_channel_preload_data()
tx_handle
->
dma
.
curr_ptr
=
(
void
*
)
(
(
(
lldesc_t
*
)
tx_handle
->
dma
.
curr_desc
)
->
buf
)
;
i2s_common.c:1258
i2s_channel_preload_data()
if
(
handle
->
dma
.
rw_pos
==
handle
->
dma
.
buf_size
||
handle
->
dma
.
curr_ptr
==
NULL
)
{
i2s_common.c:1289
i2s_channel_write()
if
(
xQueueReceive
(
handle
->
msg_queue
,
&
(
handle
->
dma
.
curr_ptr
)
,
pdMS_TO_TICKS
(
timeout_ms
)
)
==
pdFALSE
)
{
i2s_common.c:1290
i2s_channel_write()
data_ptr
=
(
char
*
)
handle
->
dma
.
curr_ptr
;
i2s_common.c:1296
i2s_channel_write()
if
(
handle
->
dma
.
rw_pos
==
handle
->
dma
.
buf_size
||
handle
->
dma
.
curr_ptr
==
NULL
)
{
i2s_common.c:1334
i2s_channel_read()
if
(
xQueueReceive
(
handle
->
msg_queue
,
&
(
handle
->
dma
.
curr_ptr
)
,
pdMS_TO_TICKS
(
timeout_ms
)
)
==
pdFALSE
)
{
i2s_common.c:1335
i2s_channel_read()
data_ptr
=
(
uint8_t
*
)
handle
->
dma
.
curr_ptr
;
i2s_common.c:1341
i2s_channel_read()
p_i2s
[
i2s_num
]
->
tx
->
curr_ptr
=
NULL
;
i2s_legacy.c:398
i2s_tx_reset()
p_i2s
[
i2s_num
]
->
rx
->
curr_ptr
=
NULL
;
i2s_legacy.c:416
i2s_rx_reset()
if
(
p_i2s
[
i2s_num
]
->
tx
->
rw_pos
==
p_i2s
[
i2s_num
]
->
tx
->
buf_size
||
p_i2s
[
i2s_num
]
->
tx
->
curr_ptr
==
NULL
)
{
i2s_legacy.c:1707
i2s_write()
if
(
xQueueReceive
(
p_i2s
[
i2s_num
]
->
tx
->
queue
,
&
p_i2s
[
i2s_num
]
->
tx
->
curr_ptr
,
ticks_to_wait
)
==
pdFALSE
)
{
i2s_legacy.c:1708
i2s_write()
ESP_LOGD
(
TAG
,
"size: %d, rw_pos: %d, buf_size: %d, curr_ptr: %p"
,
size
,
p_i2s
[
i2s_num
]
->
tx
->
rw_pos
,
p_i2s
[
i2s_num
]
->
tx
->
buf_size
,
p_i2s
[
i2s_num
]
->
tx
->
curr_ptr
)
;
i2s_legacy.c:1713
i2s_write()
data_ptr
=
(
char
*
)
p_i2s
[
i2s_num
]
->
tx
->
curr_ptr
;
i2s_legacy.c:1714
i2s_write()
if
(
p_i2s
[
i2s_num
]
->
tx
->
rw_pos
==
p_i2s
[
i2s_num
]
->
tx
->
buf_size
||
p_i2s
[
i2s_num
]
->
tx
->
curr_ptr
==
NULL
)
{
i2s_legacy.c:1773
i2s_write_expand()
if
(
xQueueReceive
(
p_i2s
[
i2s_num
]
->
tx
->
queue
,
&
p_i2s
[
i2s_num
]
->
tx
->
curr_ptr
,
ticks_to_wait
)
==
pdFALSE
)
{
i2s_legacy.c:1774
i2s_write_expand()
data_ptr
=
(
char
*
)
p_i2s
[
i2s_num
]
->
tx
->
curr_ptr
;
i2s_legacy.c:1779
i2s_write_expand()
if
(
p_i2s
[
i2s_num
]
->
rx
->
rw_pos
==
p_i2s
[
i2s_num
]
->
rx
->
buf_size
||
p_i2s
[
i2s_num
]
->
rx
->
curr_ptr
==
NULL
)
{
i2s_legacy.c:1818
i2s_read()
if
(
xQueueReceive
(
p_i2s
[
i2s_num
]
->
rx
->
queue
,
&
p_i2s
[
i2s_num
]
->
rx
->
curr_ptr
,
ticks_to_wait
)
==
pdFALSE
)
{
i2s_legacy.c:1819
i2s_read()
data_ptr
=
(
char
*
)
p_i2s
[
i2s_num
]
->
rx
->
curr_ptr
;
i2s_legacy.c:1824
i2s_read()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2s_dma_t::curr_ptr
is written by 5 functions and is read by 6 functions:
i2s_tx_reset()
i2s_rx_reset()
i2s_register_channel()
i2s_channel_disable()
i2s_channel_preload_data()
All items filtered out
i2s_dma_t::curr_ptr
i2s_write()
i2s_write_expand()
i2s_read()
i2s_channel_preload_data()
i2s_channel_write()
i2s_channel_read()
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