GD32W51x User Manual
865
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
C
E
N
C
D
IS
O
D
D
F
R
M
D
A
R
[6
:0
]
R
e
se
rve
d
E
P
T
Y
P
E
[1
:0
]
L
S
D
R
e
se
rve
d
rs
rs
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
E
P
D
IR
E
P
N
U
M
[3
:0
]
M
P
L
[1
0
:0
]
rw
rw
rw
Bits
Fields
Descriptions
31
CEN
Channel enable
Set by the application and cleared by USBFS.
0: Channel disabled
1: Channel enabled
Softw are should follow ing the operation guide to disable or enable a channel.
30
CDIS
Channel disable
Softw are can set this bit to disable the channel from processing transactions .
Softw are should follow the operation guide to disable or enable a channel.
29
ODDFRM
Odd frame
For periodic transfers (interrupt or isochronous transfer), this bit controls that
w hether in an odd frame or even frame this channel’s transaction is desired to be
processed.
0: Even frame
1: Odd frame
28:22
DAR[6:0]
Device address
The address of the USB device that this channel w ants to communicate w ith.
21:20
Reserved
Must be kept at reset value
19:18
EPTYPE[1:0]
Endpoint type
The transfer type of the endpoint that this channel w ants to communicate w ith.
00: Control
01: Isochronous
10: Bulk
11: Interrupt
17
LSD
Low -Speed device
The device that this channel w ants to communicate w ith is a Low -Speed Device.
16
Reserved
Must be kept at reset value