TinyUSB Library
tusb_desc_interface_t::bNumEndpoints
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
tusb_desc_interface_t::bNumEndpoints
tusb_desc_interface_t::bNumEndpoints field
Syntax
Show:
Summary
Declaration
from
tusb_types.h:333
uint8_t
bNumEndpoints
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
bNumEndpoints
;
///< Number of endpoints used by this interface (excluding endpoint zero). If this value is zero, this interface only uses the Default Control Pipe.
tusb_types.h:333
desc
->
bNumEndpoints
=
2u
+
(
p_cdc
->
ep_notif
?
1u
:
0u
)
;
cdc_host.c:298
tuh_cdc_itf_get_info()
if
(
itf_desc
->
bNumEndpoints
==
1
)
{
cdc_host.c:822
acm_open()
TU_VERIFY
(
itf_desc
->
bInterfaceSubClass
==
0xff
&&
itf_desc
->
bInterfaceProtocol
==
0xff
&&
itf_desc
->
bNumEndpoints
==
2
)
;
cdc_host.c:981
ftdi_open()
TU_VERIFY
(
itf_desc
->
bInterfaceSubClass
==
0
&&
itf_desc
->
bInterfaceProtocol
==
0
&&
itf_desc
->
bNumEndpoints
==
2
)
;
cdc_host.c:1162
cp210x_open()
TU_VERIFY
(
itf_desc
->
bNumEndpoints
==
3
)
;
cdc_host.c:1495
ch34x_open()
desc_itf
->
bNumEndpoints
*
sizeof
(
tusb_desc_endpoint_t
)
)
;
hid_device.c:213
hidd_open()
TU_ASSERT
(
usbd_open_edpt_pair
(
rhport
,
p_desc
,
desc_itf
->
bNumEndpoints
,
TUSB_XFER_INTERRUPT
,
&
p_hid
->
ep_out
,
&
p_hid
->
ep_in
)
,
0
)
;
hid_device.c:236
hidd_open()
desc
->
bNumEndpoints
=
(
uint8_t
)
(
(
p_hid
->
ep_in
?
1u
:
0u
)
+
(
p_hid
->
ep_out
?
1u
:
0u
)
)
;
hid_host.c:138
tuh_hid_itf_get_info()
desc_itf
->
bNumEndpoints
*
sizeof
(
tusb_desc_endpoint_t
)
)
;
hid_host.c:475
hidh_open()
for
(
int
i
=
0
;
i
<
desc_itf
->
bNumEndpoints
;
i
++
)
{
hid_host.c:492
hidh_open()
desc_itf
->
bNumEndpoints
*
sizeof
(
tusb_desc_endpoint_t
)
)
;
msc_host.c:378
msch_open()
if
(
desc_itf
->
bNumEndpoints
)
vendor_device.c:251
vendord_open()
TU_ASSERT
(
usbd_open_edpt_pair
(
rhport
,
p_desc
,
desc_itf
->
bNumEndpoints
,
TUSB_XFER_BULK
,
&
p_vendor
->
ep_out
,
&
p_vendor
->
ep_in
)
,
0
)
;
vendor_device.c:260
vendord_open()
p_desc
+=
desc_itf
->
bNumEndpoints
*
sizeof
(
tusb_desc_endpoint_t
)
;
vendor_device.c:262
vendord_open()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tusb_desc_interface_t::bNumEndpoints
is written by 2 functions and is read by 8 functions:
tuh_cdc_itf_get_info()
tuh_hid_itf_get_info()
All items filtered out
tusb_desc_interface_t::bNumEndpoints
hidd_open()
vendord_open()
acm_open()
ftdi_open()
cp210x_open()
ch34x_open()
hidh_open()
msch_open()
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