GD32F10x User Manual
836
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
Set this bit to make USBFS send STALL handshake during an OUT transaction.
USBFS will clear this bit after a SETUP token is received on OUT endpoint 0. This
bit has a higher priority than NAKS bit in this register, i.e. if both STALL and NAKS
bits are set, the STALL bit takes effect.
20
SNOOP
Snoop mode
This bit controls the snoop mode of an OUT endpoint. In snoop mode, USBFS
doesn
’t check the received data packet’s CRC value.
0: Snoop mode disabled
1: Snoop mode enabled
19:18
EPTYPE[1:0]
Endpoint type
This field is fixed to
‘00’ for control endpoint.
17
NAKS
NAK status
This bit controls the NAK status of USBFS when both STALL bit in this register and
GONS bit in USBFS_DCTL register are cleared:
0: USBFS sends data or handshake packets according to the status of the
endpoint
’s Rx FIFO.
Содержание 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 ...