GD32F10x User Manual
837
1: USBFS always sends NAK handshake for the OUT token.
This bit is read-only and software should use CNAK and SNAK in this register to
control this bit.
16
Reserved
Must be kept at reset value.
15
EPACT
Endpoint active
This field is fixed to
‘1’ for endpoint 0.
14:2
Reserved
Must be kept at reset value.
1:0
MPL[1:0]
Maximum packet length
This is a read-only field, and its value comes from the MPL field of
USBFS_DIEP0CTL register:
00: 64 bytes
01: 32 bytes
10: 16 bytes
11: 8 bytes
Device OUT endpoint-x control register (USBFS_DOEPxCTL) (x = 1..3, where x
= endpoint_number)
Address offset: (endpoint_number × 0x20)
Reset value: 0x0000 0000
The application uses this register to control the operations of each logical OUT endpoint other
than OUT endpoint 0.
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
S
ODDF
RM
/S
D1
P
ID
S
E
V
NF
RM
/
S
D0P
ID
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
E
OF
RM
/DP
ID
rs
rs
w
w
w
w
rw/rs
rw
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
:0
]
rw
rw
Bits
Fields
Descriptions
31
EPEN
Endpoint enable
Set by the application and cleared by USBFS.
0: Endpoint disabled
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...