TinyUSB Library
cdch_interface_t::stream
is only used within TinyUSB Library.
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
Raspberry Pi Pico SDK and Examples
TinyUSB Library
cdch_interface_t::stream
cdch_interface_t::stream field
Syntax
Show:
Summary
Declaration
from
cdc_host.c:71
struct
{
tu_edpt_stream_t
tx
;
tu_edpt_stream_t
rx
;
uint8_t
tx_ff_buf
[
CFG_TUH_CDC_TX_BUFSIZE
]
;
CFG_TUH_MEM_ALIGN
uint8_t
tx_ep_buf
[
CFG_TUH_CDC_TX_EPSIZE
]
;
uint8_t
rx_ff_buf
[
CFG_TUH_CDC_TX_BUFSIZE
]
;
CFG_TUH_MEM_ALIGN
uint8_t
rx_ep_buf
[
CFG_TUH_CDC_TX_EPSIZE
]
;
}
stream
;
Examples
References
from
examples
Code
Location
Referrer
}
stream
;
cdc_host.c:80
(
ep_addr
==
p_cdc
->
ep_notif
||
ep_addr
==
p_cdc
->
stream
.
rx
.
ep_addr
||
ep_addr
==
p_cdc
->
stream
.
tx
.
ep_addr
)
)
{
cdc_host.c:244
get_idx_by_ep_addr()
return
tu_edpt_stream_write
(
&
p_cdc
->
stream
.
tx
,
buffer
,
bufsize
)
;
cdc_host.c:344
tuh_cdc_write()
return
tu_edpt_stream_write_xfer
(
&
p_cdc
->
stream
.
tx
)
;
cdc_host.c:351
tuh_cdc_write_flush()
return
tu_edpt_stream_clear
(
&
p_cdc
->
stream
.
tx
)
;
cdc_host.c:358
tuh_cdc_write_clear()
return
tu_edpt_stream_write_available
(
&
p_cdc
->
stream
.
tx
)
;
cdc_host.c:365
tuh_cdc_write_available()
return
tu_edpt_stream_read
(
&
p_cdc
->
stream
.
rx
,
buffer
,
bufsize
)
;
cdc_host.c:376
tuh_cdc_read()
return
tu_edpt_stream_read_available
(
&
p_cdc
->
stream
.
rx
)
;
cdc_host.c:383
tuh_cdc_read_available()
return
tu_edpt_stream_peek
(
&
p_cdc
->
stream
.
rx
,
ch
)
;
cdc_host.c:390
tuh_cdc_peek()
bool
ret
=
tu_edpt_stream_clear
(
&
p_cdc
->
stream
.
rx
)
;
cdc_host.c:397
tuh_cdc_read_clear()
tu_edpt_stream_read_xfer
(
&
p_cdc
->
stream
.
rx
)
;
cdc_host.c:398
tuh_cdc_read_clear()
tu_edpt_stream_init
(
&
p_cdc
->
stream
.
tx
,
true
,
true
,
false
,
cdc_host.c:629
cdch_init()
p_cdc
->
stream
.
tx_ff_buf
,
CFG_TUH_CDC_TX_BUFSIZE
,
cdc_host.c:630
cdch_init()
p_cdc
->
stream
.
tx_ep_buf
,
CFG_TUH_CDC_TX_EPSIZE
)
;
cdc_host.c:631
cdch_init()
tu_edpt_stream_init
(
&
p_cdc
->
stream
.
rx
,
true
,
false
,
false
,
cdc_host.c:633
cdch_init()
p_cdc
->
stream
.
rx_ff_buf
,
CFG_TUH_CDC_RX_BUFSIZE
,
cdc_host.c:634
cdch_init()
p_cdc
->
stream
.
rx_ep_buf
,
CFG_TUH_CDC_RX_EPSIZE
)
;
cdc_host.c:635
cdch_init()
tu_edpt_stream_deinit
(
&
p_cdc
->
stream
.
tx
)
;
cdc_host.c:644
cdch_deinit()
tu_edpt_stream_deinit
(
&
p_cdc
->
stream
.
rx
)
;
cdc_host.c:645
cdch_deinit()
tu_edpt_stream_close
(
&
p_cdc
->
stream
.
tx
)
;
cdc_host.c:662
cdch_close()
tu_edpt_stream_close
(
&
p_cdc
->
stream
.
rx
)
;
cdc_host.c:663
cdch_close()
if
(
ep_addr
==
p_cdc
->
stream
.
tx
.
ep_addr
)
{
cdc_host.c:676
cdch_xfer_cb()
if
(
0
==
tu_edpt_stream_write_xfer
(
&
p_cdc
->
stream
.
tx
)
)
{
cdc_host.c:680
cdch_xfer_cb()
tu_edpt_stream_write_zlp_if_needed
(
&
p_cdc
->
stream
.
tx
,
xferred_bytes
)
;
cdc_host.c:683
cdch_xfer_cb()
}
else
if
(
ep_addr
==
p_cdc
->
stream
.
rx
.
ep_addr
)
{
cdc_host.c:685
cdch_xfer_cb()
tu_edpt_stream_read_xfer_complete_offset
(
&
p_cdc
->
stream
.
rx
,
xferred_bytes
,
2
)
;
cdc_host.c:690
cdch_xfer_cb()
tu_edpt_stream_read_xfer_complete
(
&
p_cdc
->
stream
.
rx
,
xferred_bytes
)
;
cdc_host.c:694
cdch_xfer_cb()
tu_edpt_stream_read_xfer
(
&
p_cdc
->
stream
.
rx
)
;
cdc_host.c:701
cdch_xfer_cb()
tu_edpt_stream_open
(
&
p_cdc
->
stream
.
rx
,
p_cdc
->
daddr
,
desc_ep
)
;
cdc_host.c:722
open_ep_stream_pair()
tu_edpt_stream_open
(
&
p_cdc
->
stream
.
tx
,
p_cdc
->
daddr
,
desc_ep
)
;
cdc_host.c:724
open_ep_stream_pair()
tu_edpt_stream_read_xfer
(
&
p_cdc
->
stream
.
rx
)
;
cdc_host.c:766
set_config_complete()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
cdch_interface_t::stream
is read by 15 functions:
All items filtered out
cdch_interface_t::stream
get_idx_by_ep_addr()
tuh_cdc_write()
tuh_cdc_write_flush()
tuh_cdc_write_clear()
tuh_cdc_write_available()
tuh_cdc_read()
tuh_cdc_read_available()
tuh_cdc_peek()
tuh_cdc_read_clear()
cdch_init()
cdch_deinit()
cdch_close()
cdch_xfer_cb()
open_ep_stream_pair()
set_config_complete()
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