TinyUSB Library
+
0
/1 examples
SourceVu will show references to
tusb_control_request_t::wIndex
from the following samples and libraries:
PicoSDK
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::wIndex
tusb_control_request_t::wIndex field
Syntax
Show:
Summary
Declaration
from
tusb_types.h:473
uint16_t
wIndex
;
Examples
tusb_control_request_t::wIndex
is referenced by 1 libraries and example projects:
PicoSDK
References
from
0/1
examples
Code
Location
Referrer
uint16_t
wIndex
;
tusb_types.h:473
if
(
p_cdc
->
itf_num
==
request
->
wIndex
)
break
;
cdc_device.c:366
cdcd_control_xfer_cb()
uint8_t
const
itf_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
cdc_host.c:521
cdch_internal_control_complete()
request
.
wIndex
=
tu_htole16
(
(
uint16_t
)
itf_num
)
;
cdc_host.c:774
cdch_set_config()
uint8_t
const
itf_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
cdc_host.c:847
acm_process_config()
.
wIndex
=
tu_htole16
(
(
uint16_t
)
p_cdc
->
bInterfaceNumber
)
,
cdc_host.c:894
acm_set_control_line_state()
.
wIndex
=
tu_htole16
(
p_cdc
->
bInterfaceNumber
)
,
cdc_host.c:924
acm_set_line_coding()
.
wIndex
=
0
,
cdc_host.c:1007
ftdi_sio_set_request()
uint8_t
const
itf_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
cdc_host.c:1094
ftdi_process_config()
.
wIndex
=
p_cdc
->
bInterfaceNumber
,
cdc_host.c:1187
cp210x_set_request()
uint8_t
const
itf_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
cdc_host.c:1253
cp210x_process_config()
.
wIndex
=
tu_htole16
(
index
)
,
cdc_host.c:1321
ch34x_set_request()
uint8_t
const
hid_itf
=
get_index_by_itfnum
(
(
uint8_t
)
request
->
wIndex
)
;
hid_device.c:265
hidd_control_xfer_cb()
uint8_t
const
itf_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
hid_host.c:170
set_protocol_complete()
.
wIndex
=
itf_num
,
hid_host.c:202
_hidh_set_protocol()
uint8_t
const
itf_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
hid_host.c:229
get_report_complete()
.
wIndex
=
tu_htole16
(
(
uint16_t
)
p_hid
->
itf_num
)
,
hid_host.c:253
tuh_hid_get_report()
uint8_t
const
itf_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
hid_host.c:273
set_report_complete()
.
wIndex
=
tu_htole16
(
(
uint16_t
)
p_hid
->
itf_num
)
,
hid_host.c:297
tuh_hid_set_report()
.
wIndex
=
tu_htole16
(
(
uint16_t
)
itf_num
)
,
hid_host.c:326
_hidh_set_idle()
request
.
wIndex
=
tu_htole16
(
(
uint16_t
)
itf_num
)
;
hid_host.c:539
hidh_set_config()
uint8_t
const
itf_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
hid_host.c:562
process_set_config()
.
wIndex
=
hub_port
,
hub.c:99
hub_port_clear_feature()
.
wIndex
=
hub_port
,
hub.c:131
hub_port_set_feature()
.
wIndex
=
hub_port
,
hub.c:163
hub_port_get_status()
.
wIndex
=
0
,
hub.c:265
hub_set_config()
if
(
xfer
->
setup
->
wIndex
==
p_hub
->
port_count
)
hub.c:309
config_port_power_complete()
uint8_t
const
hub_port
=
(
uint8_t
)
(
xfer
->
setup
->
wIndex
+
1
)
;
hub.c:319
config_port_power_complete()
uint8_t
const
port_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
hub.c:387
hub_get_status_complete()
uint8_t
const
port_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
hub.c:410
hub_port_get_status_complete()
uint8_t
const
port_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
hub.c:457
connection_clear_conn_change_complete()
uint8_t
const
port_num
=
(
uint8_t
)
tu_le16toh
(
xfer
->
setup
->
wIndex
)
;
hub.c:487
connection_port_reset_complete()
.
wIndex
=
itf_num
,
msc_host.c:418
msch_set_config()
uint8_t
const
itf
=
tu_u16_low
(
p_request
->
wIndex
)
;
usbd.c:728
process_control_request()
uint8_t
const
itf
=
tu_u16_low
(
p_request
->
wIndex
)
;
usbd.c:863
process_control_request()
uint8_t
const
ep_addr
=
tu_u16_low
(
p_request
->
wIndex
)
;
usbd.c:898
process_control_request()
uint8_t
const
*
desc_str
=
(
uint8_t
const
*
)
tud_descriptor_string_cb
(
desc_index
,
tu_le16toh
(
p_request
->
wIndex
)
)
;
usbd.c:1126
process_get_descriptor()
.
wIndex
=
tu_htole16
(
language_id
)
,
usbh.c:994
_get_descriptor()
.
wIndex
=
tu_htole16
(
(
uint16_t
)
itf_num
)
,
usbh.c:1070
tuh_descriptor_get_hid_report()
.
wIndex
=
0
,
usbh.c:1096
tuh_configuration_set()
.
wIndex
=
tu_htole16
(
itf_num
)
,
usbh.c:1122
tuh_interface_set()
.
wIndex
=
0
,
usbh.c:1606
enum_request_set_addr()
Call Tree
from
0/1
examples
All items filtered out
All items filtered out
Data Use
from
0/1
examples
tusb_control_request_t::wIndex
is written by 2 functions and is read by 17 functions:
cdch_set_config()
hidh_set_config()
All items filtered out
tusb_control_request_t::wIndex
process_control_request()
process_get_descriptor()
cdcd_control_xfer_cb()
hidd_control_xfer_cb()
config_port_power_complete()
hub_get_status_complete()
hub_port_get_status_complete()
connection_clear_conn_change_complete()
connection_port_reset_complete()
cdch_internal_control_complete()
acm_process_config()
ftdi_process_config()
cp210x_process_config()
set_protocol_complete()
get_report_complete()
set_report_complete()
process_set_config()
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Lifecycle
from
0/1
examples
All items filtered out
All items filtered out