GD32W51x User Manual
884
29:28
Reserved
Must be kept at reset value
27
SNAK
Set NAK
Softw are sets this bit to set NAKS bit in this register.
26
CNAK
Clear NAK
Softw are 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 w ill 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 w hen 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.
1: USBFS alw ays sends NAK handshake for the OUT token.
This bit is read-only and softw are 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
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...