TinyUSB Library
hub_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
hub_interface_t
hub_interface_t struct
Syntax
Show:
Summary
Declaration
from
hub.c:43
typedef
struct
{
uint8_t
itf_num
;
uint8_t
ep_in
;
uint8_t
port_count
;
CFG_TUH_MEM_ALIGN
uint8_t
status_change
;
CFG_TUH_MEM_ALIGN
hub_port_status_response_t
port_status
;
CFG_TUH_MEM_ALIGN
hub_status_response_t
hub_status
;
}
hub_interface_t
;
Fields
Field
Declared as
hub_interface_t::itf_num
uint8_t
hub_interface_t::ep_in
uint8_t
hub_interface_t::port_count
uint8_t
hub_interface_t::status_change
CFG_TUH_MEM_ALIGN
uint8_t
hub_interface_t::port_status
CFG_TUH_MEM_ALIGN
hub_port_status_response_t
hub_interface_t::hub_status
CFG_TUH_MEM_ALIGN
hub_status_response_t
Examples
References
from
examples
Code
Location
Referrer
typedef
struct
hub.c:43
}
hub_interface_t
;
hub.c:52
hub_interface_t
CFG_TUH_MEM_SECTION
static
hub_interface_t
hub_data
[
CFG_TUH_HUB
]
;
hub.c:54
static
inline
hub_interface_t
*
get_itf
(
uint8_t
dev_addr
)
hub.c:58
get_itf()
hub_interface_t
*
p_hub
=
get_itf
(
dev_addr
)
;
hub.c:216
hub_open()
hub_interface_t
*
p_hub
=
get_itf
(
dev_addr
)
;
hub.c:227
hub_close()
tu_memclr
(
p_hub
,
sizeof
(
hub_interface_t
)
)
;
hub.c:231
hub_close()
hub_interface_t
*
hub_itf
=
get_itf
(
dev_addr
)
;
hub.c:237
hub_edpt_status_xfer()
hub_interface_t
*
p_hub
=
get_itf
(
dev_addr
)
;
hub.c:251
hub_set_config()
hub_interface_t
*
p_hub
=
get_itf
(
daddr
)
;
hub.c:289
config_set_port_power()
hub_interface_t
*
p_hub
=
get_itf
(
daddr
)
;
hub.c:307
config_port_power_complete()
hub_interface_t
*
p_hub
=
get_itf
(
dev_addr
)
;
hub.c:339
hub_xfer_cb()
hub_interface_t
*
p_hub
=
get_itf
(
daddr
)
;
hub.c:386
hub_get_status_complete()
hub_interface_t
*
p_hub
=
get_itf
(
daddr
)
;
hub.c:409
hub_port_get_status_complete()
hub_interface_t
*
p_hub
=
get_itf
(
daddr
)
;
hub.c:456
connection_clear_conn_change_complete()
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
hub_data
hub.c:54
return
get_itf()
hub.c:58
Lifecycle
from
examples
All items filtered out
All items filtered out