![GigaDevice Semiconductor GD32F10 Series Скачать руководство пользователя страница 833](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f10-series/gd32f10-series_user-manual_2225800833.webp)
GD32F10x User Manual
833
This bit controls the NAK status of USBFS when both STALL bit in this register and
GINS bit in USBFS_DCTL register are cleared:
0: USBFS sends data or handshake packets according to the status of the
endpoint
’s Tx FIFO.
1: USBFS always sends NAK handshake to the IN 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 field defines the maximum packet length for a control data packet. As described
in USB 2.0 protocol, there are 4 kinds of length for control transfers:
00: 64 bytes
01: 32 bytes
10: 16 bytes
11: 8 bytes
Device IN endpoint-x control register (USBFS_DIEPxCTL) (x = 1..3, where x =
endpoint_number)
Address offset: (endpoint_number × 0x20)
Reset value: 0x0000 0000
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
D0P
ID/S
E
V
NF
RM
S
NA
K
CN
A
K
T
X
F
NU
M
[3
:0
]
S
T
A
L
L
Rese
rve
d
E
P
T
Y
P
E
[1
:0
]
NA
K
S
E
OF
RM
/DP
ID
rs
rs
w
w
w
w
rw
rw/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
:0
]
rw
rw
Bits
Fields
Descriptions
31
EPEN
Endpoint enable
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...