![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 535](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630535.webp)
www.geehy.com Page 534
Field
Name
R/W
Description
1: Odd frame
Endpoint Data PID
Used for interrupt/batch IN endpoints:
0
:
DATA0
1
:
DATA1
17
NAKSTS
R
NAK Status
0: The module replies non-NAK handshake according to the
FIFO state
1: The module replies the NAK handshake signal on this
endpoint. At this time, for OUT endpoint, even if there is
remaining space in RXFIFO, the module will still stop receiving
data
Note: The module always responds to the SETUP data packet
through ACK handshake.
19:18
EPTYPE
R/W
Endpoint Type
00: Control
01: Synchronous
10: Batch
11: Interrupt
20
SNMEN
R/W
Snoop Mode Enable
In snoop mode, the correctness of OUT data packets is not
checked before they are transmitted to the storage area.
21
STALLH
RW/RS
STALL Handshake
For uncontrolled and non-synchronous IN endpoints
(read/write mode is RW):
When this bit is set to 1, the device will reply STALL to all
tokens from the USB host. This bit can only be cleared to 0 by
software.
Used for control endpoints (read/write mode is RW)
When this bit is set to 1, it means that the module receives
SETUP token.
25:22
Reserved
26
NAKCLR
W
NAK Clear
When performing write operation to this bit, the NAK bit of the
endpoint will be cleared to 0.
27
NAKSET
W
NAK Set
When performing write operation to this bit, the NAK bit of the
endpoint will be set to 1.
This bit can control the transmission of NAK handshake signal.
28
DPIDSET
W
DATA0 PID Set
Used for interrupt/batch IN endpoints:
When performing write operation to this bit, PID will be set
to DATA0.
Even Frame Set
Used for synchronous IN endpoints:
When performing write operation to this bit, EOF will be set
to even frame.