Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
3.5.0
Toggle main menu visibility
Main Page
Related Pages
Modules
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
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
•
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
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 Fri Oct 20 2023 10:27:12 for Zephyr API Documentation by
1.9.6