TinyUSB Library
usbh_device_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
usbh_device_t
usbh_device_t struct
Syntax
Show:
Summary
Declaration
from
usbh.c:84
typedef
struct
{
uint8_t
rhport
;
uint8_t
hub_addr
;
uint8_t
hub_port
;
uint8_t
speed
;
struct
TU_ATTR_PACKED
{
volatile
uint8_t
connected
:
1
;
volatile
uint8_t
addressed
:
1
;
volatile
uint8_t
configured
:
1
;
volatile
uint8_t
suspended
:
1
;
}
;
uint8_t
ep0_size
;
uint16_t
vid
;
uint16_t
pid
;
uint8_t
i_manufacturer
;
uint8_t
i_product
;
uint8_t
i_serial
;
uint8_t
itf2drv
[
CFG_TUH_INTERFACE_MAX
]
;
uint8_t
ep2drv
[
CFG_TUH_ENDPOINT_MAX
]
[
2
]
;
tu_edpt_state_t
ep_status
[
CFG_TUH_ENDPOINT_MAX
]
[
2
]
;
#if
CFG_TUH_API_EDPT_XFER
struct
{
tuh_xfer_cb_t
complete_cb
;
uintptr_t
user_data
;
}
ep_callback
[
CFG_TUH_ENDPOINT_MAX
]
[
2
]
;
#endif
}
usbh_device_t
;
Fields
Field
Declared as
usbh_device_t::rhport
uint8_t
usbh_device_t::hub_addr
uint8_t
usbh_device_t::hub_port
uint8_t
usbh_device_t::speed
uint8_t
usbh_device_t::ep0_size
uint8_t
usbh_device_t::vid
uint16_t
usbh_device_t::pid
uint16_t
usbh_device_t::i_manufacturer
uint8_t
usbh_device_t::i_product
uint8_t
usbh_device_t::i_serial
uint8_t
usbh_device_t::itf2drv
uint8_t
[
CFG_TUH_INTERFACE_MAX
]
usbh_device_t::ep2drv
uint8_t
[
CFG_TUH_ENDPOINT_MAX
]
[
2
]
usbh_device_t::ep_status
tu_edpt_state_t
[
CFG_TUH_ENDPOINT_MAX
]
[
2
]
Examples
References
from
examples
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
Lifecycle
from
examples
All items filtered out
All items filtered out