ESP-IDF
esp_apptrace_rb_t::rd
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_apptrace_rb_t::rd
esp_apptrace_rb_t::rd field
Syntax
Show:
Summary
Declaration
from
esp_app_trace_util.h:103
volatile
uint32_t
rd
;
Examples
References
from
examples
Code
Location
Referrer
volatile
uint32_t
rd
;
///< read pointer
esp_app_trace_util.h:103
ESP_APPTRACE_LOGD
(
"esp_apptrace_trax_down_buffer_write_nolock WRS %"
PRIu32
"-%"
PRIu32
"-%"
PRIu32
" %"
PRIu32
,
proto
->
rb_down
.
wr
,
proto
->
rb_down
.
rd
,
app_trace_membufs_proto.c:199
esp_apptrace_membufs_down_buffer_write_nolock()
if
(
rb
->
rd
<=
rb
->
wr
)
{
app_trace_util.c:93
esp_apptrace_rb_produce()
if
(
rb
->
rd
==
0
)
{
app_trace_util.c:96
esp_apptrace_rb_produce()
if
(
size
>
rb
->
rd
-
1
)
{
app_trace_util.c:103
esp_apptrace_rb_produce()
if
(
rb
->
rd
==
rb
->
cur_size
)
{
app_trace_util.c:110
esp_apptrace_rb_produce()
rb
->
rd
=
0
;
app_trace_util.c:111
esp_apptrace_rb_produce()
if
(
size
>
rb
->
rd
-
rb
->
wr
-
1
)
{
app_trace_util.c:123
esp_apptrace_rb_produce()
uint8_t
*
ptr
=
rb
->
data
+
rb
->
rd
;
app_trace_util.c:133
esp_apptrace_rb_consume()
if
(
rb
->
rd
<=
rb
->
wr
)
{
app_trace_util.c:134
esp_apptrace_rb_consume()
if
(
rb
->
rd
+
size
>
rb
->
wr
)
{
app_trace_util.c:136
esp_apptrace_rb_consume()
rb
->
rd
+=
size
;
app_trace_util.c:139
esp_apptrace_rb_consume()
if
(
rb
->
rd
+
size
>
rb
->
cur_size
)
{
app_trace_util.c:142
esp_apptrace_rb_consume()
}
else
if
(
rb
->
rd
+
size
==
rb
->
cur_size
)
{
app_trace_util.c:144
esp_apptrace_rb_consume()
rb
->
rd
=
0
;
app_trace_util.c:149
esp_apptrace_rb_consume()
rb
->
rd
+=
size
;
app_trace_util.c:151
esp_apptrace_rb_consume()
if
(
rb
->
rd
<=
rb
->
wr
)
{
app_trace_util.c:160
esp_apptrace_rb_read_size_get()
size
=
rb
->
wr
-
rb
->
rd
;
app_trace_util.c:162
esp_apptrace_rb_read_size_get()
size
=
rb
->
cur_size
-
rb
->
rd
;
app_trace_util.c:165
esp_apptrace_rb_read_size_get()
if
(
rb
->
rd
<=
rb
->
wr
)
{
app_trace_util.c:173
esp_apptrace_rb_write_size_get()
if
(
size
&&
rb
->
rd
==
0
)
{
app_trace_util.c:176
esp_apptrace_rb_write_size_get()
size
=
rb
->
rd
-
rb
->
wr
-
1
;
app_trace_util.c:181
esp_apptrace_rb_write_size_get()
rb
->
rd
=
0
;
esp_app_trace_util.h:118
esp_apptrace_rb_init()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_apptrace_rb_t::rd
is written by 3 functions and is read by 5 functions:
esp_apptrace_rb_init()
esp_apptrace_rb_produce()
esp_apptrace_rb_consume()
All items filtered out
esp_apptrace_rb_t::rd
esp_apptrace_rb_produce()
esp_apptrace_rb_consume()
esp_apptrace_rb_read_size_get()
esp_apptrace_rb_write_size_get()
esp_apptrace_membufs_down_buffer_write_nolock()
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