TinyUSB Library
cdcd_interface_t
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
cdcd_interface_t
cdcd_interface_t struct
Syntax
Show:
Summary
Declaration
from
cdc_device.c:48
typedef
struct
{
uint8_t
itf_num
;
uint8_t
ep_notif
;
uint8_t
ep_in
;
uint8_t
ep_out
;
uint8_t
line_state
;
char
wanted_char
;
TU_ATTR_ALIGNED
(
4
)
cdc_line_coding_t
line_coding
;
tu_fifo_t
rx_ff
;
tu_fifo_t
tx_ff
;
uint8_t
rx_ff_buf
[
CFG_TUD_CDC_RX_BUFSIZE
]
;
uint8_t
tx_ff_buf
[
CFG_TUD_CDC_TX_BUFSIZE
]
;
OSAL_MUTEX_DEF
(
rx_ff_mutex
)
;
OSAL_MUTEX_DEF
(
tx_ff_mutex
)
;
CFG_TUSB_MEM_ALIGN
uint8_t
epout_buf
[
CFG_TUD_CDC_EP_BUFSIZE
]
;
CFG_TUSB_MEM_ALIGN
uint8_t
epin_buf
[
CFG_TUD_CDC_EP_BUFSIZE
]
;
}
cdcd_interface_t
;
Fields
Field
Declared as
cdcd_interface_t::itf_num
uint8_t
cdcd_interface_t::ep_notif
uint8_t
cdcd_interface_t::ep_in
uint8_t
cdcd_interface_t::ep_out
uint8_t
cdcd_interface_t::line_state
uint8_t
cdcd_interface_t::wanted_char
char
cdcd_interface_t::line_coding
TU_ATTR_ALIGNED
(
4
)
cdc_line_coding_t
cdcd_interface_t::rx_ff
tu_fifo_t
cdcd_interface_t::tx_ff
tu_fifo_t
cdcd_interface_t::rx_ff_buf
uint8_t
[
CFG_TUD_CDC_RX_BUFSIZE
]
cdcd_interface_t::tx_ff_buf
uint8_t
[
CFG_TUD_CDC_TX_BUFSIZE
]
cdcd_interface_t::rx_ff_mutex
OSAL_MUTEX_DEF
(
cdcd_interface_t::tx_ff_mutex
OSAL_MUTEX_DEF
(
cdcd_interface_t::epout_buf
CFG_TUSB_MEM_ALIGN
uint8_t
[
CFG_TUD_CDC_EP_BUFSIZE
]
cdcd_interface_t::epin_buf
CFG_TUSB_MEM_ALIGN
uint8_t
[
CFG_TUD_CDC_EP_BUFSIZE
]
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
{
cdc_device.c:48
}
cdcd_interface_t
;
cdc_device.c:74
cdcd_interface_t
CFG_TUD_MEM_SECTION
static
cdcd_interface_t
_cdcd_itf
[
CFG_TUD_CDC
]
;
cdc_device.c:81
static
bool
_prep_out_transaction
(
cdcd_interface_t
*
p_cdc
)
{
cdc_device.c:84
_prep_out_transaction()
_prep_out_transaction()::p_cdc
cdcd_interface_t
*
p_cdc
=
&
_cdcd_itf
[
itf
]
;
cdc_device.c:152
tud_cdc_n_read()
cdcd_interface_t
*
p_cdc
=
&
_cdcd_itf
[
itf
]
;
cdc_device.c:163
tud_cdc_n_read_flush()
cdcd_interface_t
*
p_cdc
=
&
_cdcd_itf
[
itf
]
;
cdc_device.c:172
tud_cdc_n_write()
cdcd_interface_t
*
p_cdc
=
&
_cdcd_itf
[
itf
]
;
cdc_device.c:188
tud_cdc_n_write_flush()
cdcd_interface_t
*
p_cdc
=
&
_cdcd_itf
[
i
]
;
cdc_device.c:231
cdcd_init()
cdcd_interface_t
*
p_cdc
=
&
_cdcd_itf
[
i
]
;
cdc_device.c:263
cdcd_deinit()
cdcd_interface_t
*
p_cdc
=
&
_cdcd_itf
[
i
]
;
cdc_device.c:286
cdcd_reset()
tu_memclr
(
p_cdc
,
ITF_MEM_RESET_SIZE
)
;
cdc_device.c:288
cdcd_reset()
cdcd_interface_t
*
p_cdc
=
NULL
;
cdc_device.c:301
cdcd_open()
cdcd_interface_t
*
p_cdc
=
_cdcd_itf
;
cdc_device.c:360
cdcd_control_xfer_cb()
cdcd_interface_t
*
p_cdc
;
cdc_device.c:430
cdcd_xfer_cb()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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
Instance
Scope
Location
Project
_cdcd_itf
cdc_device.c:81
_prep_out_transaction()::p_cdc
_prep_out_transaction()
cdc_device.c:84
Lifecycle
from
examples
All items filtered out
All items filtered out