OpenOCD
rtt_channel::read_pos
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
rtt_channel::read_pos
rtt_channel::read_pos field
Read position within the buffer in bytes.
Syntax
from
rtt.h:55
uint32_t
read_pos
;
References
Location
Referrer
Text
rtt.h:55
uint32_t
read_pos
;
rtt.c:44
read_rtt_channel()
channel
->
read_pos
=
buf_get_u32
(
buf
+
16
,
0
,
32
)
;
rtt.c:100
write_to_channel()
if
(
channel
->
write_pos
==
channel
->
read_pos
)
{
rtt.c:118
write_to_channel()
}
else
if
(
channel
->
write_pos
<
channel
->
read_pos
)
{
rtt.c:119
write_to_channel()
len
=
MIN
(
*
length
,
channel
->
read_pos
-
channel
->
write_pos
-
1
)
;
rtt.c:135
write_to_channel()
channel
->
size
-
channel
->
write_pos
+
channel
->
read_pos
-
1
)
;
rtt.c:323
read_from_channel()
if
(
channel
->
read_pos
==
channel
->
write_pos
)
{
rtt.c:325
read_from_channel()
}
else
if
(
channel
->
read_pos
<
channel
->
write_pos
)
{
rtt.c:326
read_from_channel()
len
=
MIN
(
*
length
,
channel
->
write_pos
-
channel
->
read_pos
)
;
rtt.c:329
read_from_channel()
channel
->
buffer_addr
+
channel
->
read_pos
,
len
,
buffer
)
;
rtt.c:337
read_from_channel()
channel
->
size
-
channel
->
read_pos
+
channel
->
write_pos
)
;
rtt.c:338
read_from_channel()
first_length
=
MIN
(
len
,
channel
->
size
-
channel
->
read_pos
)
;
rtt.c:341
read_from_channel()
channel
->
buffer_addr
+
channel
->
read_pos
,
first_length
,
buffer
)
;
rtt.c:355
read_from_channel()
(
channel
->
read_pos
+
len
)
%
channel
->
size
)
;
Data Use
Functions writing
rtt_channel::read_pos
Functions reading
rtt_channel::read_pos
read_rtt_channel()
all items filtered out
rtt_channel::read_pos
write_to_channel()
read_from_channel()
all items filtered out
Type of
rtt_channel::read_pos
rtt_channel::read_pos
uint32_t
all items filtered out