Zephyr API Documentation
4.2.0-rc3
A Scalable Open Source RTOS
4.2.0-rc3
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Zephyr API Documentation
Introduction
Deprecated List
Topics
Data Structures
Files
File List
doc
kernel
lib
modules
subsys
zephyr
acpi
app_memory
arch
audio
bluetooth
canbus
console
crypto
data
debug
devicetree
dfu
display
drivers
dsp
dt-bindings
fs
input
internal
ipc
kernel
linker
llext
logging
lorawan
math
mem_mgmt
mgmt
misc
modbus
modem
multi_heap
net
platform
pm
pmci
portability
posix
psa
random
retention
rtio
sd
sensing
settings
shell
sip_svc
stats
storage
sys
task_wdt
timing
toolchain
tracing
usb
class
hid.h
usb_audio.h
usb_cdc.h
usb_dfu.h
usb_hid.h
usb_hub.h
usbd_dfu.h
usbd_hid.h
usbd_midi2.h
usbd_msc.h
usbd_uac2.h
usbd_uvc.h
bos.h
msos_desc.h
usb_ch9.h
usb_device.h
usbd.h
usbd_msg.h
usbh.h
usb_c
xen
zbus
zvfs
bindesc.h
cache.h
device.h
devicetree.h
fatal.h
fatal_types.h
init.h
irq.h
irq_multilevel.h
irq_nextlevel.h
irq_offload.h
kernel.h
kernel_includes.h
kernel_structs.h
kernel_version.h
net_buf.h
shared_irq.h
smf.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall.h
toolchain.h
types.h
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
usb_hub.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Emerson Electric Co.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
11
12
#ifndef ZEPHYR_INCLUDE_USB_CLASS_USB_HUB_H_
13
#define ZEPHYR_INCLUDE_USB_CLASS_USB_HUB_H_
14
16
#define USB_HCFS_C_HUB_LOCAL_POWER 0x00
17
#define USB_HCFS_C_HUB_OVER_CURRENT 0x01
18
#define USB_HCFS_PORT_CONNECTION 0x00
19
#define USB_HCFS_PORT_ENABLE 0x01
20
#define USB_HCFS_PORT_SUSPEND 0x02
21
#define USB_HCFS_PORT_OVER_CURRENT 0x03
22
#define USB_HCFS_PORT_RESET 0x04
23
#define USB_HCFS_PORT_POWER 0x08
24
#define USB_HCFS_PORT_LOW_SPEED 0x09
25
#define USB_HCFS_C_PORT_CONNECTION 0x10
26
#define USB_HCFS_C_PORT_ENABLE 0x11
27
#define USB_HCFS_C_PORT_SUSPEND 0x12
28
#define USB_HCFS_C_PORT_OVER_CURRENT 0x13
29
#define USB_HCFS_C_PORT_RESET 0x14
30
#define USB_HCFS_PORT_TEST 0x15
31
#define USB_HCFS_PORT_INDICATOR 0x16
32
34
#define USB_HCREQ_GET_STATUS 0x00
35
#define USB_HCREQ_CLEAR_FEATURE 0x01
36
#define USB_HCREQ_SET_FEATURE 0x03
37
#define USB_HCREQ_GET_DESCRIPTOR 0x06
38
#define USB_HCREQ_SET_DESCRIPTOR 0x07
39
#define USB_HCREQ_CLEAR_TT_BUFFER 0x08
40
#define USB_HCREQ_RESET_TT 0x09
41
#define USB_HCREQ_GET_TT_STATE 0x0A
42
#define USB_HCREQ_STOP_TT 0x0B
43
44
#endif
/* ZEPHYR_INCLUDE_USB_CLASS_USB_HUB_H_ */
zephyr
usb
class
usb_hub.h
Generated on
for Zephyr API Documentation by
1.14.0