GD32VF103 User Manual
505
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
CE
N
CD
IS
ODDF
RM
DA
R[6
:0
]
Rese
rve
d
E
P
T
Y
P
E
[1
:0
]
L
S
D
Rese
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
DIR
E
P
NU
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
Software should following the operation guide to disable or enable a channel.
30
CDIS
Channel disable
Software can set this bit to disable the channel from processing transactions.
Software 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
whether 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 wants to communicate with.
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 wants to communicate with.
00: Control
01: Isochronous
10: Bulk
11: Interrupt
17
LSD
Low-Speed device
The device that this channel wants to communicate with is a Low-Speed Device.
16
Reserved
Must be kept at reset value