GD32F20x User Manual
919
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
EPTYPE[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
channel’s transaction to be processed is in odd frame or even frame.
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 with which this channel communicates.
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.
15
EPDIR
Endpoint direction
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...