www.geehy.com Page 488
Field
Name
R/W
Description
10:0
MAXPS
R/W
Maximum Packet Size
This bit configures the maximum data packet size of endpoint.
(in byte).
14:11
Reserved
15
USBAEP
R/W
USB Active Endpoint
This bit indicates whether the endpoint is activated in the current
configuration and interface.
After USB is reset, this bit will be cleared to 0 (except endpoint
0).
16
EOF
R
Even Odd Frame
This bit is used to indicate the frame number
transmitted/received by the endpoint (for synchronization IN) or
the PID of data packet (for interrupt/batch IN).
Used for synchronous IN endpoints:
0: Even frame
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 signal 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 R/W):
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 R/W):
When this bit is set to 1, it means that the module receives
SETUP token.
25:22
Reserved