TinyUSB Library
tusb_control_request_t::wLength
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_control_request_t::wLength
tusb_control_request_t::wLength field
Syntax
Show:
Summary
Declaration
from
tusb_types.h:474
uint16_t
wLength
;
Examples
References
from
examples
Code
Location
Referrer
uint16_t
wLength
;
tusb_types.h:474
uint16_t
const
len
=
tu_min16
(
sizeof
(
cdc_line_coding_t
)
,
tu_le16toh
(
xfer
->
setup
->
wLength
)
)
;
cdc_host.c:421
process_internal_control_complete()
.
wLength
=
0
cdc_host.c:895
acm_set_control_line_state()
.
wLength
=
tu_htole16
(
sizeof
(
cdc_line_coding_t
)
)
cdc_host.c:925
acm_set_line_coding()
.
wLength
=
0
cdc_host.c:1008
ftdi_sio_set_request()
.
wLength
=
tu_htole16
(
length
)
cdc_host.c:1188
cp210x_set_request()
.
wLength
=
tu_htole16
(
length
)
cdc_host.c:1322
ch34x_set_request()
uint16_t
req_len
=
tu_min16
(
request
->
wLength
,
CFG_TUD_HID_EP_BUFSIZE
)
;
hid_device.c:295
hidd_control_xfer_cb()
TU_VERIFY
(
request
->
wLength
<=
sizeof
(
p_hid
->
ctrl_buf
)
)
;
hid_device.c:314
hidd_control_xfer_cb()
tud_control_xfer
(
rhport
,
request
,
p_hid
->
ctrl_buf
,
request
->
wLength
)
;
hid_device.c:315
hidd_control_xfer_cb()
uint16_t
report_len
=
tu_min16
(
request
->
wLength
,
CFG_TUD_HID_EP_BUFSIZE
)
;
hid_device.c:321
hidd_control_xfer_cb()
.
wLength
=
0
hid_host.c:203
_hidh_set_protocol()
(
xfer
->
result
==
XFER_RESULT_SUCCESS
)
?
xfer
->
setup
->
wLength
:
0
)
;
hid_host.c:236
get_report_complete()
.
wLength
=
len
hid_host.c:254
tuh_hid_get_report()
(
xfer
->
result
==
XFER_RESULT_SUCCESS
)
?
xfer
->
setup
->
wLength
:
0
)
;
hid_host.c:280
set_report_complete()
.
wLength
=
len
hid_host.c:298
tuh_hid_set_report()
.
wLength
=
0
hid_host.c:327
_hidh_set_idle()
uint16_t
const
desc_len
=
tu_le16toh
(
xfer
->
setup
->
wLength
)
;
hid_host.c:600
process_set_config()
.
wLength
=
0
hub.c:100
hub_port_clear_feature()
.
wLength
=
0
hub.c:132
hub_port_set_feature()
.
wLength
=
4
hub.c:164
hub_port_get_status()
.
wLength
=
sizeof
(
descriptor_hub_desc_t
)
hub.c:266
hub_set_config()
.
wLength
=
1
msc_host.c:419
msch_set_config()
(
(
tusb_control_request_t
const
*
)
p_request
)
->
wLength
>
sizeof
(
tusb_desc_device_t
)
)
{
usbd.c:1072
process_get_descriptor()
mod_request
.
wLength
=
CFG_TUD_ENDPOINT0_SIZE
;
usbd.c:1076
process_get_descriptor()
_ctrl_xfer
.
data_len
=
tu_min16
(
len
,
request
->
wLength
)
;
usbd_control.c:115
tud_control_xfer()
if
(
request
->
wLength
>
0U
)
{
usbd_control.c:117
tud_control_xfer()
if
(
(
_ctrl_xfer
.
request
.
wLength
==
_ctrl_xfer
.
total_xferred
)
||
usbd_control.c:191
usbd_control_xfer_cb()
if
(
request
->
wLength
)
{
usbh.c:715
usbh_control_xfer_cb()
TU_ASSERT
(
hcd_edpt_xfer
(
rhport
,
daddr
,
tu_edpt_addr
(
0
,
request
->
bmRequestType_bit
.
direction
)
,
_ctrl_xfer
.
buffer
,
request
->
wLength
)
)
;
usbh.c:718
usbh_control_xfer_cb()
if
(
request
->
wLength
)
{
usbh.c:724
usbh_control_xfer_cb()
.
wLength
=
tu_htole16
(
len
)
usbh.c:995
_get_descriptor()
.
wLength
=
len
usbh.c:1071
tuh_descriptor_get_hid_report()
.
wLength
=
0
usbh.c:1097
tuh_configuration_set()
.
wLength
=
0
usbh.c:1123
tuh_interface_set()
.
wLength
=
0
usbh.c:1607
enum_request_set_addr()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tusb_control_request_t::wLength
is written by 1 function and is read by 9 functions:
process_get_descriptor()
All items filtered out
tusb_control_request_t::wLength
process_get_descriptor()
tud_control_xfer()
usbd_control_xfer_cb()
hidd_control_xfer_cb()
usbh_control_xfer_cb()
process_internal_control_complete()
get_report_complete()
set_report_complete()
process_set_config()
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