![GigaDevice Semiconductor GD32F20 Series User Manual Download Page 937](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f20-series/gd32f20-series_user-manual_2225801937.webp)
GD32F20x User Manual
937
15
EPACT
Endpoint active
This bit controls whether this endpoint is active. If an endpoint is not active, it
ignores all tokens and doesn’t make any response.
14:11
Reserved
Must be kept at reset value.
10:0
MPL[10:0]
This field defines the maximum packet length in byte.
Device OUT endpoint 0 control register (USBFS_DOEP0CTL)
Address offset: 0x0B00
Reset value: 0x0000 8000
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
EPEN
EPD
Rese
rve
d
.
S
NA
K
CN
A
K
Rese
rve
d
S
T
A
L
L
S
NOOP
E
P
T
Y
P
E
[1
:0
]
NA
K
S
Rese
rve
d
rs
r
w
w
rs
rw
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
E
P
A
CT
Rese
rve
d
M
P
L
[1
:0
]
r
r
Bits
Fields
Descriptions
31
EPEN
Endpoint enable
Set by the application and cleared by USBFS.
0: Endpoint disabled
1: Endpoint enabled
Software should follow the operation guide to disable or enable an endpoint.
30
EPD
Endpoint disable
This bit is fixed to 0 for OUT endpoint 0.
29:28
Reserved
Must be kept at reset value.
27
SNAK
Set NAK
Software sets this bit to set NAKS bit in this register.
26
CNAK
Clear NAK
Software sets this bit to clear NAKS bit in this register
25:22
Reserved
Must be kept at reset value.
21
STALL
STALL handshake
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 ...